Searched refs:HASH_ALGO_SHA1 (Results 1 – 15 of 15) sorted by relevance
/linux/security/integrity/ima/ |
A D | ima_template_lib.c | 18 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5) in ima_template_hash_algo_allowed() 332 hash.hdr.algo = HASH_ALGO_SHA1; in ima_eventdigest_init() 336 if (!result && hash.hdr.algo != HASH_ALGO_SHA1) in ima_eventdigest_init() 344 cur_digestsize = hash_digest_size[HASH_ALGO_SHA1]; in ima_eventdigest_init() 353 ima_hash_algo : HASH_ALGO_SHA1; in ima_eventdigest_init() 374 u8 *cur_digest = NULL, hash_algo = HASH_ALGO_SHA1; in ima_eventdigest_ng_init() 405 hash_algo = HASH_ALGO_SHA1; in ima_eventdigest_modsig_init()
|
A D | ima_crypto.c | 130 if (algo == HASH_ALGO_SHA1) in ima_init_crypto() 139 if (ima_hash_algo == HASH_ALGO_SHA1) in ima_init_crypto() 168 if (algo == HASH_ALGO_SHA1) { in ima_init_crypto() 179 if (ima_hash_algo == HASH_ALGO_SHA1) { in ima_init_crypto() 183 ima_alloc_tfm(HASH_ALGO_SHA1); in ima_init_crypto() 190 ima_algo_array[ima_sha1_idx].algo = HASH_ALGO_SHA1; in ima_init_crypto() 859 if (bank_idx == -1 && crypto_id == HASH_ALGO_SHA1) in ima_calc_boot_aggregate()
|
A D | ima_appraise.c | 91 if (algo <= HASH_ALGO_SHA1) { in ima_fix_xattr() 206 return HASH_ALGO_SHA1; in ima_get_hash_algo()
|
A D | ima_main.c | 38 int __ro_after_init ima_hash_algo = HASH_ALGO_SHA1; 55 ima_hash_algo = HASH_ALGO_SHA1; in hash_setup()
|
A D | ima_template.c | 125 ima_hash_algo != HASH_ALGO_SHA1 && ima_hash_algo != HASH_ALGO_MD5) { in ima_template_setup()
|
/linux/crypto/ |
A D | hash_info.c | 14 [HASH_ALGO_SHA1] = "sha1", 38 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
|
/linux/drivers/crypto/ux500/hash/ |
A D | hash_core.c | 230 if (HASH_ALGO_SHA1 == ctx->config.algorithm) { in get_empty_message_digest() 249 if (HASH_ALGO_SHA1 == ctx->config.algorithm) { in get_empty_message_digest() 682 if (config->algorithm != HASH_ALGO_SHA1 && in hash_setconfiguration() 696 case HASH_ALGO_SHA1: in hash_setconfiguration() 1275 if (algorithm != HASH_ALGO_SHA1 && algorithm != HASH_ALGO_SHA256) { in hash_get_digest() 1281 if (algorithm == HASH_ALGO_SHA1) in hash_get_digest() 1368 ctx->config.algorithm = HASH_ALGO_SHA1; in ahash_sha1_init() 1434 ctx->config.algorithm = HASH_ALGO_SHA1; in hmac_sha1_init() 1487 return hash_setkey(tfm, key, keylen, HASH_ALGO_SHA1); in hmac_sha1_setkey() 1525 .conf.algorithm = HASH_ALGO_SHA1, [all …]
|
A D | hash_alg.h | 273 HASH_ALGO_SHA1 = 0x0, enumerator
|
/linux/include/uapi/linux/ |
A D | hash_info.h | 20 HASH_ALGO_SHA1, enumerator
|
/linux/security/integrity/evm/ |
A D | evm_crypto.c | 376 data.hdr.algo = HASH_ALGO_SHA1; in evm_update_evmxattr() 396 desc = init_desc(EVM_XATTR_HMAC, HASH_ALGO_SHA1); in evm_init_hmac()
|
A D | evm_main.c | 219 digest.hdr.algo = HASH_ALGO_SHA1; in evm_verify_hmac()
|
/linux/drivers/char/tpm/ |
A D | tpm1-cmd.c | 803 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation() 804 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
|
A D | tpm2-cmd.c | 18 {HASH_ALGO_SHA1, TPM_ALG_SHA1},
|
/linux/security/keys/trusted-keys/ |
A D | trusted_tpm1.c | 750 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions() 838 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()
|
A D | trusted_tpm2.c | 22 {HASH_ALGO_SHA1, TPM_ALG_SHA1},
|
Completed in 28 milliseconds