Home
last modified time | relevance | path

Searched refs:hash_algo_name (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/crypto/
Dhash_info.c11 const char *const hash_algo_name[HASH_ALGO__LAST] = { variable
36 EXPORT_SYMBOL_GPL(hash_algo_name);
/linux-6.12.1/security/integrity/ima/
Dima_crypto.c74 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); in ima_init_ima_crypto()
78 hash_algo_name[ima_hash_algo], rc); in ima_init_ima_crypto()
82 hash_algo_name[ima_hash_algo]); in ima_init_ima_crypto()
101 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm()
105 hash_algo_name[algo], rc); in ima_alloc_tfm()
294 tfm = crypto_alloc_ahash(hash_algo_name[algo], 0, 0); in ima_alloc_atfm()
301 hash_algo_name[algo], rc); in ima_alloc_atfm()
Dima_fs.c460 hash_algo_name[algo]); in create_securityfs_measurement_lists()
470 hash_algo_name[algo]); in create_securityfs_measurement_lists()
Dima_main.c67 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
1156 if (error && strcmp(hash_algo_name[ima_hash_algo], in init_ima()
1159 hash_algo_name[ima_hash_algo], CONFIG_IMA_DEFAULT_HASH); in init_ima()
Dima_template_lib.c314 hash_algo_name[hash_algo]); in ima_eventdigest_init_common()
318 hash_algo_name[hash_algo]); in ima_eventdigest_init_common()
Dima_api.c397 const char *algo_name = hash_algo_name[iint->ima_hash->algo]; in ima_audit_measurement()
Dima_policy.c1386 idx = match_string(hash_algo_name, HASH_ALGO__LAST, token); in ima_parse_appraise_algos()
1394 if (!crypto_has_alg(hash_algo_name[idx], 0, 0)) { in ima_parse_appraise_algos()
2067 seq_puts(m, hash_algo_name[idx]); in ima_policy_show_appraise_algos()
Dima_appraise.c734 if (crypto_has_alg(hash_algo_name[xattr_hash_algo], 0, 0)) in validate_hash_algo()
/linux-6.12.1/include/crypto/
Dhash_info.h38 extern const char *const hash_algo_name[HASH_ALGO__LAST];
/linux-6.12.1/security/integrity/
Ddigsig_asymmetric.c108 pks.hash_algo = hash_algo_name[hdr->hash_algo]; in asymmetric_verify()
/linux-6.12.1/security/ipe/
Deval.c213 info.alg = hash_algo_name[alg]; in evaluate_fsv_digest()
/linux-6.12.1/crypto/asymmetric_keys/
Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/linux-6.12.1/security/integrity/evm/
Devm_crypto.c93 algo = hash_algo_name[hash_algo]; in init_desc()
/linux-6.12.1/fs/ubifs/
Dauth.c267 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
Dsb.c575 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.12.1/security/keys/trusted-keys/
Dtrusted_tpm1.c842 if (!strcmp(args[0].from, hash_algo_name[i])) { in getoptions()