Searched refs:HASH_ALGO_SHA1 (Results 1 – 4 of 4) sorted by relevance
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()1273 if (algorithm != HASH_ALGO_SHA1 && algorithm != HASH_ALGO_SHA256) { in hash_get_digest()1279 if (algorithm == HASH_ALGO_SHA1) in hash_get_digest()1366 ctx->config.algorithm = HASH_ALGO_SHA1; in ahash_sha1_init()1432 ctx->config.algorithm = HASH_ALGO_SHA1; in hmac_sha1_init()1485 return hash_setkey(tfm, key, keylen, HASH_ALGO_SHA1); in hmac_sha1_setkey()1523 .conf.algorithm = HASH_ALGO_SHA1,[all …]
273 HASH_ALGO_SHA1 = 0x0, enumerator
808 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation()809 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
18 {HASH_ALGO_SHA1, TPM_ALG_SHA1},