Home
last modified time | relevance | path

Searched refs:signature_algorithm (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/ssl/
Dtls13_both.cc382 uint16_t signature_algorithm; in tls13_process_certificate_verify() local
384 if (!CBS_get_u16(&cbs, &signature_algorithm) || in tls13_process_certificate_verify()
393 if (!tls12_check_peer_sigalg(ssl, &alert, signature_algorithm)) { in tls13_process_certificate_verify()
397 hs->new_session->peer_signature_algorithm = signature_algorithm; in tls13_process_certificate_verify()
411 signature_algorithm, hs->peer_pubkey, msg, msg_len); in tls13_process_certificate_verify()
531 uint16_t signature_algorithm; in tls13_add_certificate_verify() local
532 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in tls13_add_certificate_verify()
540 !CBB_add_u16(&body, signature_algorithm)) { in tls13_add_certificate_verify()
567 hs, sig, &sig_len, max_sig_len, signature_algorithm, msg, msg_len); in tls13_add_certificate_verify()
Dssl_transcript.cc328 int signature_algorithm) { in SSL_TRANSCRIPT_ssl3_cert_verify_hash() argument
334 if (signature_algorithm == SSL_SIGN_RSA_PKCS1_MD5_SHA1) { in SSL_TRANSCRIPT_ssl3_cert_verify_hash()
346 if (signature_algorithm == SSL_SIGN_ECDSA_SHA1) { in SSL_TRANSCRIPT_ssl3_cert_verify_hash()
Dhandshake_server.cc1091 uint16_t signature_algorithm; in ssl3_send_server_key_exchange() local
1092 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in ssl3_send_server_key_exchange()
1096 if (!CBB_add_u16(&body, signature_algorithm)) { in ssl3_send_server_key_exchange()
1113 signature_algorithm, hs->server_params, in ssl3_send_server_key_exchange()
1548 uint16_t signature_algorithm = 0; in ssl3_get_cert_verify() local
1550 if (!CBS_get_u16(&certificate_verify, &signature_algorithm)) { in ssl3_get_cert_verify()
1556 if (!tls12_check_peer_sigalg(ssl, &alert, signature_algorithm)) { in ssl3_get_cert_verify()
1560 hs->new_session->peer_signature_algorithm = signature_algorithm; in ssl3_get_cert_verify()
1561 } else if (!tls1_get_legacy_signature_algorithm(&signature_algorithm, in ssl3_get_cert_verify()
1584 signature_algorithm)) { in ssl3_get_cert_verify()
[all …]
Dhandshake_client.cc1347 uint16_t signature_algorithm = 0; in ssl3_get_server_key_exchange() local
1349 if (!CBS_get_u16(&server_key_exchange, &signature_algorithm)) { in ssl3_get_server_key_exchange()
1355 if (!tls12_check_peer_sigalg(ssl, &alert, signature_algorithm)) { in ssl3_get_server_key_exchange()
1359 hs->new_session->peer_signature_algorithm = signature_algorithm; in ssl3_get_server_key_exchange()
1360 } else if (!tls1_get_legacy_signature_algorithm(&signature_algorithm, in ssl3_get_server_key_exchange()
1391 ssl, CBS_data(&signature), CBS_len(&signature), signature_algorithm, in ssl3_get_server_key_exchange()
1744 uint16_t signature_algorithm; in ssl3_send_cert_verify() local
1745 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in ssl3_send_cert_verify()
1750 if (!CBB_add_u16(&body, signature_algorithm)) { in ssl3_send_cert_verify()
1777 signature_algorithm)) { in ssl3_send_cert_verify()
[all …]
Dinternal.h374 int signature_algorithm); in OPENSSL_MSVC_PRAGMA()
640 uint16_t signature_algorithm, const uint8_t *in, size_t in_len); in OPENSSL_MSVC_PRAGMA()
655 uint16_t signature_algorithm, EVP_PKEY *pkey, in OPENSSL_MSVC_PRAGMA()
/external/libchrome/crypto/
Dsignature_verifier_nss.cc89 bool SignatureVerifier::VerifyInit(SignatureAlgorithm signature_algorithm, in VerifyInit() argument
109 public_key, &sig, ToNSSSignatureType(signature_algorithm), nullptr); in VerifyInit()
Dsignature_verifier.h60 bool VerifyInit(SignatureAlgorithm signature_algorithm,
/external/boringssl/src/ssl/test/
Dbssl_shim.cc299 uint16_t signature_algorithm, const uint8_t *in, size_t in_len) { in AsyncPrivateKeySign() argument
308 switch (signature_algorithm) { in AsyncPrivateKeySign()
336 signature_algorithm); in AsyncPrivateKeySign()
348 switch (signature_algorithm) { in AsyncPrivateKeySign()
/external/boringssl/src/include/openssl/
Dssl.h1110 uint16_t signature_algorithm,