Home
last modified time | relevance | path

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

/openbmc/linux/include/crypto/
H A Dhash_info.h37 extern const char *const hash_algo_name[HASH_ALGO__LAST];
38 extern const int hash_digest_size[HASH_ALGO__LAST];
/openbmc/linux/crypto/
H A Dhash_info.c11 const char *const hash_algo_name[HASH_ALGO__LAST] = {
35 const int hash_digest_size[HASH_ALGO__LAST] = {
/openbmc/linux/include/uapi/linux/
H A Dhash_info.h38 HASH_ALGO__LAST enumerator
/openbmc/linux/security/integrity/ima/
H A 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()
H A Dima_modsig.c83 hdr->hash_algo = HASH_ALGO__LAST; in ima_read_modsig()
H A 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()
H A 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()
H A Dima_queue.c234 if (crypto_id == HASH_ALGO__LAST) in ima_init_digests()
H A Dima_policy.c132 8 * sizeof(unsigned int) >= HASH_ALGO__LAST,
1386 idx = match_string(hash_algo_name, HASH_ALGO__LAST, token); in ima_parse_appraise_algos()
2059 for (idx = 0; idx < HASH_ALGO__LAST; idx++) { in ima_policy_show_appraise_algos()
H A Dima_main.c66 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
/openbmc/linux/security/integrity/
H A Ddigsig_asymmetric.c99 if (hdr->hash_algo >= HASH_ALGO__LAST) in asymmetric_verify()
/openbmc/linux/security/integrity/evm/
H A Devm_crypto.c30 static struct crypto_shash *evm_tfm[HASH_ALGO__LAST];
89 if (hash_algo >= HASH_ALGO__LAST) in init_desc()
/openbmc/linux/include/linux/
H A Dima.h57 return HASH_ALGO__LAST; in ima_get_current_hash_algo()
/openbmc/linux/crypto/asymmetric_keys/
H A Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/openbmc/linux/fs/ubifs/
H A Dauth.c268 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
H A Dsb.c569 if (hash_algo >= HASH_ALGO__LAST) { in authenticate_sb_node()
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c830 for (i = 0; i < HASH_ALGO__LAST; i++) { in getoptions()
836 if (i == HASH_ALGO__LAST) in getoptions()
/openbmc/linux/drivers/char/tpm/
H A Dtpm2-cmd.c537 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()