Home
last modified time | relevance | path

Searched refs:sigalg (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c424 static int rsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, in rsa_sig_print() argument
426 if (OBJ_obj2nid(sigalg->algorithm) == NID_rsassaPss) { in rsa_sig_print()
431 pss = rsa_pss_decode(sigalg, &maskHash); in rsa_sig_print()
607 static int rsa_pss_to_ctx(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, EVP_PKEY *pkey) { in rsa_pss_to_ctx() argument
616 if (OBJ_obj2nid(sigalg->algorithm) != NID_rsassaPss) { in rsa_pss_to_ctx()
621 pss = rsa_pss_decode(sigalg, &maskHash); in rsa_pss_to_ctx()
675 X509_ALGOR *sigalg, in rsa_digest_verify_init_from_algorithm() argument
678 if (OBJ_obj2nid(sigalg->algorithm) != NID_rsassaPss) { in rsa_digest_verify_init_from_algorithm()
682 return rsa_pss_to_ctx(ctx, sigalg, pkey); in rsa_digest_verify_init_from_algorithm()
686 EVP_MD_CTX *ctx, X509_ALGOR *sigalg) { in rsa_digest_sign_algorithm() argument
[all …]
Dinternal.h124 int (*sig_print)(BIO *out, const X509_ALGOR *sigalg, const ASN1_STRING *sig,
Dp_dsa_asn1.c466 static int dsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, in dsa_sig_print() argument
/external/boringssl/src/crypto/x509/
Dt_x509.c296 int X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) in X509_signature_print() argument
300 if (i2a_ASN1_OBJECT(bp, sigalg->algorithm) <= 0) return 0; in X509_signature_print()
302 sig_nid = OBJ_obj2nid(sigalg->algorithm); in X509_signature_print()
311 return ameth->sig_print(bp, sigalg, sig, 9, 0); in X509_signature_print()
/external/boringssl/src/ssl/
Dt1_lib.c567 int sigalg = tls12_get_sigid(pkey->type); in tls12_check_peer_sigalg() local
570 if (sigalg == -1) { in tls12_check_peer_sigalg()
577 if (sigalg != signature) { in tls12_check_peer_sigalg()
2729 TLS_SIGALGS *const sigalg = &cert->peer_sigalgs[i]; in tls1_parse_peer_sigalgs() local
2730 if (!CBS_get_u8(&sigalgs, &sigalg->rhash) || in tls1_parse_peer_sigalgs()
2731 !CBS_get_u8(&sigalgs, &sigalg->rsign)) { in tls1_parse_peer_sigalgs()