Home
last modified time | relevance | path

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

/linux-4.1.27/crypto/
Dhash_info.c19 [HASH_ALGO_SHA1] = "sha1",
40 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
/linux-4.1.27/include/uapi/linux/
Dhash_info.h19 HASH_ALGO_SHA1, enumerator
/linux-4.1.27/security/integrity/ima/
Dima_template_lib.c21 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5) in ima_template_hash_algo_allowed()
229 ima_hash_algo : HASH_ALGO_SHA1; in ima_eventdigest_init()
252 u8 *cur_digest = NULL, hash_algo = HASH_ALGO_SHA1; in ima_eventdigest_ng_init()
Dima_main.c39 int ima_hash_algo = HASH_ALGO_SHA1;
52 ima_hash_algo = HASH_ALGO_SHA1; in hash_setup()
Dima_init.c68 iint->ima_hash->algo = HASH_ALGO_SHA1; in ima_add_boot_aggregate()
Dima_appraise.c54 if (algo <= HASH_ALGO_SHA1) { in ima_fix_xattr()
158 hash->algo = HASH_ALGO_SHA1; in ima_get_hash_algo()
Dima_template.c73 ima_hash_algo != HASH_ALGO_SHA1 && ima_hash_algo != HASH_ALGO_MD5) { in ima_template_setup()
Dima_api.c108 hash.hdr.algo = HASH_ALGO_SHA1; in ima_store_template()
/linux-4.1.27/drivers/crypto/ux500/hash/
Dhash_core.c244 if (HASH_ALGO_SHA1 == ctx->config.algorithm) { in get_empty_message_digest()
263 if (HASH_ALGO_SHA1 == ctx->config.algorithm) { in get_empty_message_digest()
695 if (config->algorithm != HASH_ALGO_SHA1 && in hash_setconfiguration()
709 case HASH_ALGO_SHA1: in hash_setconfiguration()
1279 if (algorithm != HASH_ALGO_SHA1 && algorithm != HASH_ALGO_SHA256) { in hash_get_digest()
1285 if (algorithm == HASH_ALGO_SHA1) in hash_get_digest()
1372 ctx->config.algorithm = HASH_ALGO_SHA1; in ahash_sha1_init()
1428 ctx->config.algorithm = HASH_ALGO_SHA1; in hmac_sha1_init()
1481 return hash_setkey(tfm, key, keylen, HASH_ALGO_SHA1); in hmac_sha1_setkey()
1519 .conf.algorithm = HASH_ALGO_SHA1,
[all …]
Dhash_alg.h273 HASH_ALGO_SHA1 = 0x0, enumerator
/linux-4.1.27/crypto/asymmetric_keys/
Dmscode_parser.c95 ctx->digest_algo = HASH_ALGO_SHA1; in mscode_note_digest_algo()
Drsa.c78 [HASH_ALGO_SHA1] = _(SHA1),
Dpkcs7_parser.c196 ctx->sinfo->sig.pkey_hash_algo = HASH_ALGO_SHA1; in pkcs7_sig_note_digest_algo()
Dx509_cert_parser.c196 ctx->cert->sig.pkey_hash_algo = HASH_ALGO_SHA1; in x509_note_pkey_algo()