Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 6 of 6) sorted by relevance

/security/ipe/
A Ddigest.c28 char *alg = NULL; in ipe_digest_parse() local
41 alg = kstrndup(valstr, sep - valstr, GFP_KERNEL); in ipe_digest_parse()
42 if (!alg) { in ipe_digest_parse()
63 info->alg = alg; in ipe_digest_parse()
68 kfree(alg); in ipe_digest_parse()
87 (!strcmp(expected->alg, digest->alg)) && in ipe_digest_eval()
100 kfree(info->alg); in ipe_digest_free()
115 audit_log_untrustedstring(ab, info->alg); in ipe_digest_audit()
A Deval.c201 enum hash_algo alg; in evaluate_fsv_digest() local
210 &alg)) in evaluate_fsv_digest()
213 info.alg = hash_algo_name[alg]; in evaluate_fsv_digest()
215 info.digest_len = hash_digest_size[alg]; in evaluate_fsv_digest()
A Dhooks.c270 info->alg = kstrdup(digest->alg, GFP_KERNEL); in ipe_bdev_setintegrity()
271 if (!info->alg) in ipe_bdev_setintegrity()
A Ddigest.h15 const char *alg; member
/security/integrity/ima/
A Dima_api.c208 enum hash_algo alg; in ima_get_verity_digest() local
215 digest_len = fsverity_get_digest(inode, hash->digest, NULL, &alg); in ima_get_verity_digest()
226 hash->hdr.algo = alg; in ima_get_verity_digest()
/security/keys/trusted-keys/
A Dtrusted_tpm1.c38 static struct sdesc *init_sdesc(struct crypto_shash *alg) in init_sdesc() argument
43 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()
47 sdesc->shash.tfm = alg; in init_sdesc()

Completed in 11 milliseconds