Home
last modified time | relevance | path

Searched refs:HASH_ALGO__LAST (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/include/crypto/
Dhash_info.h37 extern const char *const hash_algo_name[HASH_ALGO__LAST];
38 extern const int hash_digest_size[HASH_ALGO__LAST];
/Linux-v6.1/crypto/
Dhash_info.c11 const char *const hash_algo_name[HASH_ALGO__LAST] = {
35 const int hash_digest_size[HASH_ALGO__LAST] = {
/Linux-v6.1/include/uapi/linux/
Dhash_info.h38 HASH_ALGO__LAST enumerator
/Linux-v6.1/security/integrity/ima/
Dima_template_lib.c310 if (digest_type < DIGEST_TYPE__LAST && hash_algo < HASH_ALGO__LAST) { in ima_eventdigest_init_common()
315 } else if (hash_algo < HASH_ALGO__LAST) { in ima_eventdigest_init_common()
393 DIGEST_TYPE__LAST, HASH_ALGO__LAST, in ima_eventdigest_init()
471 else if (hash_algo == HASH_ALGO__LAST || cur_digestsize == 0) in ima_eventdigest_modsig_init()
Dima_appraise.c191 sig->hash_algo >= HASH_ALGO__LAST) in ima_get_hash_algo()
197 || sig->hash_algo >= HASH_ALGO__LAST) in ima_get_hash_algo()
203 if (ret < HASH_ALGO__LAST) in ima_get_hash_algo()
Dima_modsig.c83 hdr->hash_algo = HASH_ALGO__LAST; in ima_read_modsig()
Dima_crypto.c96 if (algo < 0 || algo >= HASH_ALGO__LAST) in ima_alloc_tfm()
158 if (algo == HASH_ALGO__LAST) in ima_init_crypto()
295 if (algo < 0 || algo >= HASH_ALGO__LAST) in ima_alloc_atfm()
Dima_queue.c234 if (crypto_id == HASH_ALGO__LAST) in ima_init_digests()
Dima_policy.c108 8 * sizeof(unsigned int) >= HASH_ALGO__LAST,
1335 idx = match_string(hash_algo_name, HASH_ALGO__LAST, token); in ima_parse_appraise_algos()
2010 for (idx = 0; idx < HASH_ALGO__LAST; idx++) { in ima_policy_show_appraise_algos()
Dima_main.c66 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
/Linux-v6.1/fs/verity/
Dmeasure.c89 i = match_string(hash_algo_name, HASH_ALGO__LAST, hash_alg->name); in fsverity_get_digest()
/Linux-v6.1/security/integrity/
Ddigsig_asymmetric.c99 if (hdr->hash_algo >= HASH_ALGO__LAST) in asymmetric_verify()
/Linux-v6.1/security/integrity/evm/
Devm_crypto.c30 static struct crypto_shash *evm_tfm[HASH_ALGO__LAST];
89 if (hash_algo >= HASH_ALGO__LAST) in init_desc()
/Linux-v6.1/include/linux/
Dima.h56 return HASH_ALGO__LAST; in ima_get_current_hash_algo()
/Linux-v6.1/crypto/asymmetric_keys/
Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/Linux-v6.1/fs/ubifs/
Dauth.c268 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
Dsb.c569 if (hash_algo >= HASH_ALGO__LAST) { in authenticate_sb_node()
/Linux-v6.1/security/keys/trusted-keys/
Dtrusted_tpm1.c830 for (i = 0; i < HASH_ALGO__LAST; i++) { in getoptions()
836 if (i == HASH_ALGO__LAST) in getoptions()
/Linux-v6.1/drivers/char/tpm/
Dtpm2-cmd.c537 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()