Home
last modified time | relevance | path

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

/linux/lib/crypto/
H A Dhash_info.c11 const char *const hash_algo_name[HASH_ALGO__LAST] = { variable
36 EXPORT_SYMBOL_GPL(hash_algo_name);
/linux/include/trace/events/
H A Dtsm_mr.h20 "data" : hash_algo_name[mr->mr_hash])
63 "data" : hash_algo_name[mr->mr_hash])
/linux/security/integrity/ima/
H A Dima_crypto.c38 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); in param_set_bufsize()
42 hash_algo_name[ima_hash_algo], rc); in param_set_bufsize()
46 hash_algo_name[ima_hash_algo]); in param_set_bufsize()
65 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0);
69 hash_algo_name[algo], rc);
H A Dima_fs.c406 hash_algo_name[algo]); in create_securityfs_measurement_lists()
418 hash_algo_name[algo]); in create_securityfs_measurement_lists()
H A Dima_main.c87 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
1272 if (error && strcmp(hash_algo_name[ima_hash_algo],
1275 hash_algo_name[ima_hash_algo], CONFIG_IMA_DEFAULT_HASH);
H A 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()
H A Dima_api.c404 const char *algo_name = hash_algo_name[iint->ima_hash->algo]; in ima_audit_measurement()
H A Dima_policy.c1404 idx = match_string(hash_algo_name, HASH_ALGO__LAST, token); in ima_parse_appraise_algos()
1412 if (!crypto_has_alg(hash_algo_name[idx], 0, 0)) { in ima_parse_appraise_algos()
2106 seq_puts(m, hash_algo_name[idx]); in ima_policy_show_appraise_algos()
H A Dima_appraise.c731 if (crypto_has_alg(hash_algo_name[xattr_hash_algo], 0, 0))
/linux/samples/tsm-mr/
H A Dtsm_mr_sample.c
/linux/include/crypto/
H A Dhash_info.h38 extern const char *const hash_algo_name[HASH_ALGO__LAST];
/linux/drivers/virt/coco/guest/
H A Dtsm-mr.c168 strlen(hash_algo_name[tm->mrs[i].mr_hash]) + 1; in tsm_mr_create_attribute_group()
200 hash_algo_name[tm->mrs[i].mr_hash]); in tsm_mr_create_attribute_group()
/linux/security/integrity/
H A Ddigsig_asymmetric.c108 pks.hash_algo = hash_algo_name[hdr->hash_algo]; in asymmetric_verify()
161 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0);
/linux/security/ipe/
H A Deval.c213 info.alg = hash_algo_name[alg]; in evaluate_fsv_digest()
/linux/fs/ubifs/
H A Dauth.c267 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
H A 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/security/integrity/evm/
H A Devm_crypto.c94 algo = hash_algo_name[hash_algo]; in init_desc()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c795 if (!strcmp(args[0].from, hash_algo_name[i])) { in getoptions()