Searched refs:HASH_ALGO_SHA1 (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.4/crypto/ |
| D | hash_info.c | 14 [HASH_ALGO_SHA1] = "sha1", 38 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
|
| /Linux-v5.4/security/integrity/ima/ |
| D | ima_template_lib.c | 18 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5) in ima_template_hash_algo_allowed() 296 ima_hash_algo : HASH_ALGO_SHA1; in ima_eventdigest_init() 317 u8 *cur_digest = NULL, hash_algo = HASH_ALGO_SHA1; in ima_eventdigest_ng_init() 348 hash_algo = HASH_ALGO_SHA1; in ima_eventdigest_modsig_init()
|
| D | ima_init.c | 60 iint->ima_hash->algo = HASH_ALGO_SHA1; in ima_add_boot_aggregate()
|
| D | ima_appraise.c | 66 if (algo <= HASH_ALGO_SHA1) { in ima_fix_xattr() 180 return HASH_ALGO_SHA1; in ima_get_hash_algo()
|
| D | ima_main.c | 39 int ima_hash_algo = HASH_ALGO_SHA1; 56 ima_hash_algo = HASH_ALGO_SHA1; in hash_setup()
|
| D | ima_api.c | 108 hash.hdr.algo = HASH_ALGO_SHA1; in ima_store_template()
|
| D | ima_template.c | 106 ima_hash_algo != HASH_ALGO_SHA1 && ima_hash_algo != HASH_ALGO_MD5) { in ima_template_setup()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | hash_info.h | 20 HASH_ALGO_SHA1, enumerator
|
| /Linux-v5.4/drivers/crypto/ux500/hash/ |
| D | hash_core.c | 229 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() 1266 if (algorithm != HASH_ALGO_SHA1 && algorithm != HASH_ALGO_SHA256) { in hash_get_digest() 1272 if (algorithm == HASH_ALGO_SHA1) in hash_get_digest() 1359 ctx->config.algorithm = HASH_ALGO_SHA1; in ahash_sha1_init() 1425 ctx->config.algorithm = HASH_ALGO_SHA1; in hmac_sha1_init() 1478 return hash_setkey(tfm, key, keylen, HASH_ALGO_SHA1); in hmac_sha1_setkey() 1516 .conf.algorithm = HASH_ALGO_SHA1, [all …]
|
| D | hash_alg.h | 273 HASH_ALGO_SHA1 = 0x0, enumerator
|
| /Linux-v5.4/security/integrity/evm/ |
| D | evm_crypto.c | 319 data.hdr.algo = HASH_ALGO_SHA1; in evm_update_evmxattr() 338 desc = init_desc(EVM_XATTR_HMAC, HASH_ALGO_SHA1); in evm_init_hmac()
|
| D | evm_main.c | 174 digest.hdr.algo = HASH_ALGO_SHA1; in evm_verify_hmac()
|
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm1-cmd.c | 788 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation() 789 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
|
| D | tpm2-cmd.c | 32 {HASH_ALGO_SHA1, TPM_ALG_SHA1},
|
| /Linux-v5.4/security/keys/ |
| D | trusted.c | 763 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions() 828 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()
|