Searched refs:hash_algo_name (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/crypto/ |
D | hash_info.c | 11 const char *const hash_algo_name[HASH_ALGO__LAST] = { variable 33 EXPORT_SYMBOL_GPL(hash_algo_name);
|
/linux-6.1.9/fs/verity/ |
D | measure.c | 89 i = match_string(hash_algo_name, HASH_ALGO__LAST, hash_alg->name); in fsverity_get_digest() 98 pr_debug("file digest %s:%*phN\n", hash_algo_name[*alg], in fsverity_get_digest()
|
/linux-6.1.9/security/integrity/ima/ |
D | ima_crypto.c | 79 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); in ima_init_ima_crypto() 83 hash_algo_name[ima_hash_algo], rc); in ima_init_ima_crypto() 87 hash_algo_name[ima_hash_algo]); in ima_init_ima_crypto() 106 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm() 110 hash_algo_name[algo], rc); in ima_alloc_tfm() 299 tfm = crypto_alloc_ahash(hash_algo_name[algo], 0, 0); in ima_alloc_atfm() 306 hash_algo_name[algo], rc); in ima_alloc_atfm()
|
D | ima_main.c | 66 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup() 1061 if (error && strcmp(hash_algo_name[ima_hash_algo], in init_ima() 1064 hash_algo_name[ima_hash_algo], CONFIG_IMA_DEFAULT_HASH); in init_ima()
|
D | ima_template_lib.c | 314 hash_algo_name[hash_algo]); in ima_eventdigest_init_common() 318 hash_algo_name[hash_algo]); in ima_eventdigest_init_common()
|
D | ima_api.c | 388 const char *algo_name = hash_algo_name[iint->ima_hash->algo]; in ima_audit_measurement()
|
D | ima_policy.c | 1354 idx = match_string(hash_algo_name, HASH_ALGO__LAST, token); in ima_parse_appraise_algos() 1362 if (!crypto_has_alg(hash_algo_name[idx], 0, 0)) { in ima_parse_appraise_algos() 2037 seq_puts(m, hash_algo_name[idx]); in ima_policy_show_appraise_algos()
|
D | ima_appraise.c | 729 if (crypto_has_alg(hash_algo_name[xattr_hash_algo], 0, 0)) in validate_hash_algo()
|
/linux-6.1.9/include/crypto/ |
D | hash_info.h | 37 extern const char *const hash_algo_name[HASH_ALGO__LAST];
|
/linux-6.1.9/security/integrity/ |
D | digsig_asymmetric.c | 108 pks.hash_algo = hash_algo_name[hdr->hash_algo]; in asymmetric_verify()
|
/linux-6.1.9/crypto/asymmetric_keys/ |
D | pkcs7_verify.c | 144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
|
/linux-6.1.9/fs/ubifs/ |
D | auth.c | 268 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
|
D | sb.c | 575 if (strcmp(hash_algo_name[hash_algo], c->auth_hash_name)) { in authenticate_sb_node() 577 " but %s is specified", hash_algo_name[hash_algo], in authenticate_sb_node()
|
/linux-6.1.9/security/integrity/evm/ |
D | evm_crypto.c | 93 algo = hash_algo_name[hash_algo]; in init_desc()
|
/linux-6.1.9/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 831 if (!strcmp(args[0].from, hash_algo_name[i])) { in getoptions()
|