/external/boringssl/src/ssl/ |
D | ssl_privkey.cc | 97 uint16_t sigalg; member 127 static const SSL_SIGNATURE_ALGORITHM *get_signature_algorithm(uint16_t sigalg) { in get_signature_algorithm() argument 129 if (kSignatureAlgorithms[i].sigalg == sigalg) { in get_signature_algorithm() 147 uint16_t sigalg) { in pkey_supports_algorithm() argument 148 const SSL_SIGNATURE_ALGORITHM *alg = get_signature_algorithm(sigalg); in pkey_supports_algorithm() 173 uint16_t sigalg, bool is_verify) { in setup_ctx() argument 174 if (!pkey_supports_algorithm(ssl, pkey, sigalg)) { in setup_ctx() 179 const SSL_SIGNATURE_ALGORITHM *alg = get_signature_algorithm(sigalg); in setup_ctx() 202 uint16_t sigalg, Span<const uint8_t> in) { in ssl_private_key_sign() argument 217 sigalg, in.data(), in.size()); in ssl_private_key_sign() [all …]
|
D | t1_lib.cc | 470 uint16_t sigalg = list[0]; in Next() local 472 if (skip_ed25519 && sigalg == SSL_SIGN_ED25519) { in Next() 475 if (skip_rsa_pss_rsae && SSL_is_signature_algorithm_rsa_pss(sigalg)) { in Next() 478 *out = sigalg; in Next() 523 uint16_t sigalg; in tls12_add_verify_sigalgs() local 524 while (list.Next(&sigalg)) { in tls12_add_verify_sigalgs() 525 if (!CBB_add_u16(out, sigalg)) { in tls12_add_verify_sigalgs() 533 uint16_t sigalg) { in tls12_check_peer_sigalg() argument 537 if (verify_sigalg == sigalg) { in tls12_check_peer_sigalg() 3764 for (uint16_t sigalg : sigalgs) { in tls1_choose_signature_algorithm() local [all …]
|
D | internal.h | 1027 uint16_t sigalg, Span<const uint8_t> in); 1038 uint16_t sigalg); 1043 uint16_t sigalg, EVP_PKEY *pkey, 1988 uint16_t sigalg);
|
/external/boringssl/src/crypto/x509/ |
D | internal.h | 33 int x509_rsa_pss_to_ctx(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, EVP_PKEY *pkey); 43 int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent, 58 int x509_digest_verify_init(EVP_MD_CTX *ctx, X509_ALGOR *sigalg,
|
D | algorithm.c | 113 int x509_digest_verify_init(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, in x509_digest_verify_init() argument 116 int sigalg_nid = OBJ_obj2nid(sigalg->algorithm); in x509_digest_verify_init() 132 return x509_rsa_pss_to_ctx(ctx, sigalg, pkey); in x509_digest_verify_init() 135 if (sigalg->parameter != NULL) { in x509_digest_verify_init()
|
D | rsa_pss.c | 245 int x509_rsa_pss_to_ctx(EVP_MD_CTX *ctx, X509_ALGOR *sigalg, EVP_PKEY *pkey) { in x509_rsa_pss_to_ctx() argument 246 assert(OBJ_obj2nid(sigalg->algorithm) == NID_rsassaPss); in x509_rsa_pss_to_ctx() 251 RSA_PSS_PARAMS *pss = rsa_pss_decode(sigalg, &maskHash); in x509_rsa_pss_to_ctx() 298 int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent, in x509_print_rsa_pss_params() argument 300 assert(OBJ_obj2nid(sigalg->algorithm) == NID_rsassaPss); in x509_print_rsa_pss_params() 304 RSA_PSS_PARAMS *pss = rsa_pss_decode(sigalg, &maskHash); in x509_print_rsa_pss_params()
|
D | t_x509.c | 299 int X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, in X509_signature_print() argument 304 if (i2a_ASN1_OBJECT(bp, sigalg->algorithm) <= 0) in X509_signature_print() 308 int sig_nid = OBJ_obj2nid(sigalg->algorithm); in X509_signature_print() 310 !x509_print_rsa_pss_params(bp, sigalg, 9, 0)) { in X509_signature_print()
|
/external/boringssl/src/tool/ |
D | transport_common.cc | 286 uint16_t sigalg = SSL_get_peer_signature_algorithm(ssl); in PrintConnectionInfo() local 287 if (sigalg != 0) { in PrintConnectionInfo() 290 sigalg, SSL_version(ssl) != TLS1_2_VERSION)); in PrintConnectionInfo()
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 1050 OPENSSL_EXPORT const char *SSL_get_signature_algorithm_name(uint16_t sigalg, 1055 OPENSSL_EXPORT int SSL_get_signature_algorithm_key_type(uint16_t sigalg); 1060 uint16_t sigalg); 1064 OPENSSL_EXPORT int SSL_is_signature_algorithm_rsa_pss(uint16_t sigalg);
|
/external/curl/lib/vtls/ |
D | openssl.c | 3213 const X509_ALGOR *sigalg = NULL; in get_cert_chain() local 3217 X509_get0_signature(&psig, &sigalg, x); in get_cert_chain() 3218 if(sigalg) { in get_cert_chain() 3219 i2a_ASN1_OBJECT(mem, sigalg->algorithm); in get_cert_chain()
|