Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/crypto/
Dhash_info.c11 const char *const hash_algo_name[HASH_ALGO__LAST] = {
35 const int hash_digest_size[HASH_ALGO__LAST] = {
/linux-6.6.21/include/uapi/linux/
Dhash_info.h38 HASH_ALGO__LAST enumerator
/linux-6.6.21/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_modsig.c83 hdr->hash_algo = HASH_ALGO__LAST; in ima_read_modsig()
Dima_appraise.c194 sig->hash_algo >= HASH_ALGO__LAST) in ima_get_hash_algo()
200 || sig->hash_algo >= HASH_ALGO__LAST) in ima_get_hash_algo()
206 if (ret < HASH_ALGO__LAST) in ima_get_hash_algo()
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.c132 8 * sizeof(unsigned int) >= HASH_ALGO__LAST,
1383 idx = match_string(hash_algo_name, HASH_ALGO__LAST, token); in ima_parse_appraise_algos()
2056 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-6.6.21/security/integrity/
Ddigsig_asymmetric.c99 if (hdr->hash_algo >= HASH_ALGO__LAST) in asymmetric_verify()
/linux-6.6.21/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-6.6.21/include/linux/
Dima.h57 return HASH_ALGO__LAST; in ima_get_current_hash_algo()
/linux-6.6.21/crypto/asymmetric_keys/
Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/char/tpm/
Dtpm2-cmd.c537 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()