Searched refs:HASH_ALGO__LAST (Results 1 – 18 of 18) sorted by relevance
/linux-6.6.21/include/crypto/ |
D | hash_info.h | 37 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/ |
D | hash_info.c | 11 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/ |
D | hash_info.h | 38 HASH_ALGO__LAST enumerator
|
/linux-6.6.21/security/integrity/ima/ |
D | ima_template_lib.c | 310 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()
|
D | ima_modsig.c | 83 hdr->hash_algo = HASH_ALGO__LAST; in ima_read_modsig()
|
D | ima_appraise.c | 194 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()
|
D | ima_crypto.c | 96 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()
|
D | ima_queue.c | 234 if (crypto_id == HASH_ALGO__LAST) in ima_init_digests()
|
D | ima_policy.c | 132 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()
|
D | ima_main.c | 66 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
|
/linux-6.6.21/security/integrity/ |
D | digsig_asymmetric.c | 99 if (hdr->hash_algo >= HASH_ALGO__LAST) in asymmetric_verify()
|
/linux-6.6.21/security/integrity/evm/ |
D | evm_crypto.c | 30 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/ |
D | ima.h | 57 return HASH_ALGO__LAST; in ima_get_current_hash_algo()
|
/linux-6.6.21/crypto/asymmetric_keys/ |
D | pkcs7_verify.c | 144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
|
/linux-6.6.21/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 | 569 if (hash_algo >= HASH_ALGO__LAST) { in authenticate_sb_node()
|
/linux-6.6.21/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 830 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/ |
D | tpm2-cmd.c | 537 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()
|