Lines Matching refs:hash_algo
64 if (!sinfo->sig->hash_algo) in pkcs7_digest()
66 if (!strcmp(sinfo->sig->hash_algo, "sha256")) in pkcs7_digest()
68 else if (!strcmp(sinfo->sig->hash_algo, "sha1")) in pkcs7_digest()
90 hash_calculate(sinfo->sig->hash_algo, regions, 1, sig->digest); in pkcs7_digest()
134 hash_calculate(sinfo->sig->hash_algo, regions, 2, sig->digest); in pkcs7_digest()
151 kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); in pkcs7_digest()
157 if (!sinfo->sig->hash_algo) in pkcs7_digest()
163 tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0); in pkcs7_digest()
246 enum hash_algo *hash_algo) in pkcs7_get_digest() argument
265 if (!strcmp(hash_algo_name[i], sinfo->sig->hash_algo)) { in pkcs7_get_digest()
266 *hash_algo = i; in pkcs7_get_digest()