Home
last modified time | relevance | path

Searched refs:HASH_ALGO_SHA1 (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/crypto/
Dhash_info.c19 [HASH_ALGO_SHA1] = "sha1",
41 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
/Linux-v4.19/include/uapi/linux/
Dhash_info.h20 HASH_ALGO_SHA1, enumerator
/Linux-v4.19/security/integrity/ima/
Dima_template_lib.c22 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5) in ima_template_hash_algo_allowed()
292 ima_hash_algo : HASH_ALGO_SHA1; in ima_eventdigest_init()
313 u8 *cur_digest = NULL, hash_algo = HASH_ALGO_SHA1; in ima_eventdigest_ng_init()
Dima_init.c64 iint->ima_hash->algo = HASH_ALGO_SHA1; in ima_add_boot_aggregate()
Dima_appraise.c69 if (algo <= HASH_ALGO_SHA1) { in ima_fix_xattr()
181 return HASH_ALGO_SHA1; in ima_get_hash_algo()
Dima_main.c41 int ima_hash_algo = HASH_ALGO_SHA1;
54 ima_hash_algo = HASH_ALGO_SHA1; in hash_setup()
Dima_api.c106 hash.hdr.algo = HASH_ALGO_SHA1; in ima_store_template()
Dima_template.c81 ima_hash_algo != HASH_ALGO_SHA1 && ima_hash_algo != HASH_ALGO_MD5) { in ima_template_setup()
/Linux-v4.19/drivers/crypto/ux500/hash/
Dhash_core.c229 if (HASH_ALGO_SHA1 == ctx->config.algorithm) { in get_empty_message_digest()
248 if (HASH_ALGO_SHA1 == ctx->config.algorithm) { in get_empty_message_digest()
680 if (config->algorithm != HASH_ALGO_SHA1 && in hash_setconfiguration()
694 case HASH_ALGO_SHA1: in hash_setconfiguration()
1264 if (algorithm != HASH_ALGO_SHA1 && algorithm != HASH_ALGO_SHA256) { in hash_get_digest()
1270 if (algorithm == HASH_ALGO_SHA1) in hash_get_digest()
1357 ctx->config.algorithm = HASH_ALGO_SHA1; in ahash_sha1_init()
1423 ctx->config.algorithm = HASH_ALGO_SHA1; in hmac_sha1_init()
1476 return hash_setkey(tfm, key, keylen, HASH_ALGO_SHA1); in hmac_sha1_setkey()
1514 .conf.algorithm = HASH_ALGO_SHA1,
[all …]
Dhash_alg.h273 HASH_ALGO_SHA1 = 0x0, enumerator
/Linux-v4.19/security/integrity/evm/
Devm_crypto.c322 data.hdr.algo = HASH_ALGO_SHA1; in evm_update_evmxattr()
341 desc = init_desc(EVM_XATTR_HMAC, HASH_ALGO_SHA1); in evm_init_hmac()
Devm_main.c177 digest.hdr.algo = HASH_ALGO_SHA1; in evm_verify_hmac()
/Linux-v4.19/security/keys/
Dtrusted.c754 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions()
819 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()
/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c36 {HASH_ALGO_SHA1, TPM2_ALG_SHA1},