Home
last modified time | relevance | path

Searched refs:hash_algo (Results 1 – 6 of 6) sorted by relevance

/crypto/asymmetric_keys/
A Dpublic_key.c95 if (!hash_algo) in software_key_determine_akcipher()
96 hash_algo = "none"; in software_key_determine_akcipher()
99 pkey->pkey_algo, hash_algo); in software_key_determine_akcipher()
109 if (hash_algo) in software_key_determine_akcipher()
123 if (!hash_algo) in software_key_determine_akcipher()
125 if (strcmp(hash_algo, "sha1") != 0 && in software_key_determine_akcipher()
126 strcmp(hash_algo, "sha224") != 0 && in software_key_determine_akcipher()
140 if (!hash_algo) in software_key_determine_akcipher()
173 params->hash_algo, alg_name, in software_key_query()
281 params->hash_algo, alg_name, in software_key_eds_op()
[all …]
A Dx509_cert_parser.c190 ctx->cert->sig->hash_algo = "sha1"; in x509_note_sig_algo()
194 ctx->cert->sig->hash_algo = "sha256"; in x509_note_sig_algo()
198 ctx->cert->sig->hash_algo = "sha384"; in x509_note_sig_algo()
202 ctx->cert->sig->hash_algo = "sha512"; in x509_note_sig_algo()
206 ctx->cert->sig->hash_algo = "sha224"; in x509_note_sig_algo()
210 ctx->cert->sig->hash_algo = "sha1"; in x509_note_sig_algo()
214 ctx->cert->sig->hash_algo = "sha3-256"; in x509_note_sig_algo()
226 ctx->cert->sig->hash_algo = "sha224"; in x509_note_sig_algo()
230 ctx->cert->sig->hash_algo = "sha256"; in x509_note_sig_algo()
234 ctx->cert->sig->hash_algo = "sha384"; in x509_note_sig_algo()
[all …]
A Dpkcs7_parser.c231 ctx->sinfo->sig->hash_algo = "sha1"; in pkcs7_sig_note_digest_algo()
234 ctx->sinfo->sig->hash_algo = "sha256"; in pkcs7_sig_note_digest_algo()
237 ctx->sinfo->sig->hash_algo = "sha384"; in pkcs7_sig_note_digest_algo()
240 ctx->sinfo->sig->hash_algo = "sha512"; in pkcs7_sig_note_digest_algo()
243 ctx->sinfo->sig->hash_algo = "sha224"; in pkcs7_sig_note_digest_algo()
246 ctx->sinfo->sig->hash_algo = "sm3"; in pkcs7_sig_note_digest_algo()
249 ctx->sinfo->sig->hash_algo = "streebog256"; in pkcs7_sig_note_digest_algo()
252 ctx->sinfo->sig->hash_algo = "streebog512"; in pkcs7_sig_note_digest_algo()
255 ctx->sinfo->sig->hash_algo = "sha3-256"; in pkcs7_sig_note_digest_algo()
258 ctx->sinfo->sig->hash_algo = "sha3-384"; in pkcs7_sig_note_digest_algo()
[all …]
A Dpkcs7_verify.c31 kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); in pkcs7_digest()
37 if (!sinfo->sig->hash_algo) in pkcs7_digest()
43 tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0); in pkcs7_digest()
126 enum hash_algo *hash_algo) in pkcs7_get_digest() argument
145 sinfo->sig->hash_algo); in pkcs7_get_digest()
147 *hash_algo = i; in pkcs7_get_digest()
A Dx509_public_key.c43 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
173 cert->sig->pkey_algo, cert->sig->hash_algo); in x509_key_preparse()
A Dasymmetric_type.c592 .hash_algo = params->hash_algo, in asymmetric_key_verify_signature()

Completed in 18 milliseconds