Lines Matching refs:hash_algo
69 const char *encoding, const char *hash_algo, in software_key_determine_akcipher() argument
82 if (!hash_algo) in software_key_determine_akcipher()
89 pkey->pkey_algo, hash_algo); in software_key_determine_akcipher()
98 if (hash_algo) in software_key_determine_akcipher()
110 if (!hash_algo) in software_key_determine_akcipher()
112 if (strcmp(hash_algo, "sha1") != 0 && in software_key_determine_akcipher()
113 strcmp(hash_algo, "sha224") != 0 && in software_key_determine_akcipher()
114 strcmp(hash_algo, "sha256") != 0 && in software_key_determine_akcipher()
115 strcmp(hash_algo, "sha384") != 0 && in software_key_determine_akcipher()
116 strcmp(hash_algo, "sha512") != 0) in software_key_determine_akcipher()
121 if (!hash_algo) in software_key_determine_akcipher()
123 if (strcmp(hash_algo, "sm3") != 0) in software_key_determine_akcipher()
128 if (!hash_algo) in software_key_determine_akcipher()
130 if (strcmp(hash_algo, "streebog256") != 0 && in software_key_determine_akcipher()
131 strcmp(hash_algo, "streebog512") != 0) in software_key_determine_akcipher()
161 params->hash_algo, alg_name); in software_key_query()
226 params->hash_algo, alg_name); in software_key_eds_op()
308 if (!sig->hash_algo || strcmp(sig->hash_algo, "sm3") != 0) in cert_sig_digest_update()
316 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in cert_sig_digest_update()
390 sig->hash_algo, alg_name); in public_key_verify_signature()