/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | ec.py | 21 def _check_signature_algorithm(signature_algorithm): argument 22 if not isinstance(signature_algorithm, ec.ECDSA): 143 def signer(self, signature_algorithm): argument 145 _check_signature_algorithm(signature_algorithm) 146 _check_not_prehashed(signature_algorithm.algorithm) 148 self._backend, self, signature_algorithm.algorithm 220 def sign(self, data, signature_algorithm): argument 221 _check_signature_algorithm(signature_algorithm) 223 self._backend, data, signature_algorithm._algorithm 245 def verifier(self, signature, signature_algorithm): argument [all …]
|
D | dsa.py | 124 def signer(self, signature_algorithm): argument 126 _check_not_prehashed(signature_algorithm) 127 return _DSASignatureContext(self._backend, self, signature_algorithm) 212 def verifier(self, signature, signature_algorithm): argument 216 _check_not_prehashed(signature_algorithm) 218 self._backend, self, signature, signature_algorithm
|
D | utils.py | 55 def _check_not_prehashed(signature_algorithm): argument 56 if isinstance(signature_algorithm, Prehashed):
|
/external/boringssl/src/ssl/ |
D | tls13_both.cc | 348 uint16_t signature_algorithm; in tls13_process_certificate_verify() local 349 if (!CBS_get_u16(&body, &signature_algorithm) || in tls13_process_certificate_verify() 358 if (!tls12_check_peer_sigalg(hs, &alert, signature_algorithm)) { in tls13_process_certificate_verify() 362 hs->new_session->peer_signature_algorithm = signature_algorithm; in tls13_process_certificate_verify() 372 if (!ssl_public_key_verify(ssl, signature, signature_algorithm, in tls13_process_certificate_verify() 549 uint16_t signature_algorithm; in tls13_add_certificate_verify() local 550 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in tls13_add_certificate_verify() 559 !CBB_add_u16(&body, signature_algorithm)) { in tls13_add_certificate_verify() 584 hs, sig, &sig_len, max_sig_len, signature_algorithm, msg); in tls13_add_certificate_verify()
|
D | ssl_privkey.cc | 437 uint16_t signature_algorithm; member 469 if (candidate.signature_algorithm == sigalg) { in SSL_get_signature_algorithm_name() 511 uint16_t signature_algorithm; member 545 (*out)[i / 2] = candidate.signature_algorithm; in parse_sigalg_pairs() 714 (*out)[out_i++] = candidate.signature_algorithm; in parse_sigalgs_list() 745 (*out)[out_i++] = candidate.signature_algorithm; in parse_sigalgs_list()
|
D | handshake_client.cc | 1042 uint16_t signature_algorithm = 0; in do_read_server_key_exchange() local 1044 if (!CBS_get_u16(&server_key_exchange, &signature_algorithm)) { in do_read_server_key_exchange() 1050 if (!tls12_check_peer_sigalg(hs, &alert, signature_algorithm)) { in do_read_server_key_exchange() 1054 hs->new_session->peer_signature_algorithm = signature_algorithm; in do_read_server_key_exchange() 1055 } else if (!tls1_get_legacy_signature_algorithm(&signature_algorithm, in do_read_server_key_exchange() 1087 if (!ssl_public_key_verify(ssl, signature, signature_algorithm, in do_read_server_key_exchange() 1437 uint16_t signature_algorithm; in do_send_client_certificate_verify() local 1438 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in do_send_client_certificate_verify() 1444 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_client_certificate_verify() 1460 signature_algorithm, in do_send_client_certificate_verify()
|
D | handshake_server.cc | 1050 uint16_t signature_algorithm; in do_send_server_key_exchange() local 1051 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in do_send_server_key_exchange() 1056 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_server_key_exchange() 1073 signature_algorithm, hs->server_params)) { in do_send_server_key_exchange() 1456 uint16_t signature_algorithm = 0; in do_read_client_certificate_verify() local 1458 if (!CBS_get_u16(&certificate_verify, &signature_algorithm)) { in do_read_client_certificate_verify() 1464 if (!tls12_check_peer_sigalg(hs, &alert, signature_algorithm)) { in do_read_client_certificate_verify() 1468 hs->new_session->peer_signature_algorithm = signature_algorithm; in do_read_client_certificate_verify() 1469 } else if (!tls1_get_legacy_signature_algorithm(&signature_algorithm, in do_read_client_certificate_verify() 1484 if (!ssl_public_key_verify(ssl, signature, signature_algorithm, in do_read_client_certificate_verify()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | tls13_both.cc | 349 uint16_t signature_algorithm; in tls13_process_certificate_verify() local 350 if (!CBS_get_u16(&body, &signature_algorithm) || in tls13_process_certificate_verify() 359 if (!tls12_check_peer_sigalg(hs, &alert, signature_algorithm)) { in tls13_process_certificate_verify() 363 hs->new_session->peer_signature_algorithm = signature_algorithm; in tls13_process_certificate_verify() 373 if (!ssl_public_key_verify(ssl, signature, signature_algorithm, in tls13_process_certificate_verify() 550 uint16_t signature_algorithm; in tls13_add_certificate_verify() local 551 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in tls13_add_certificate_verify() 560 !CBB_add_u16(&body, signature_algorithm)) { in tls13_add_certificate_verify() 585 hs, sig, &sig_len, max_sig_len, signature_algorithm, msg); in tls13_add_certificate_verify()
|
D | ssl_privkey.cc | 437 uint16_t signature_algorithm; member 469 if (candidate.signature_algorithm == sigalg) { in SSL_get_signature_algorithm_name() 511 uint16_t signature_algorithm; member 545 (*out)[i / 2] = candidate.signature_algorithm; in parse_sigalg_pairs() 714 (*out)[out_i++] = candidate.signature_algorithm; in parse_sigalgs_list() 745 (*out)[out_i++] = candidate.signature_algorithm; in parse_sigalgs_list()
|
D | handshake_client.cc | 1046 uint16_t signature_algorithm = 0; in do_read_server_key_exchange() local 1048 if (!CBS_get_u16(&server_key_exchange, &signature_algorithm)) { in do_read_server_key_exchange() 1054 if (!tls12_check_peer_sigalg(hs, &alert, signature_algorithm)) { in do_read_server_key_exchange() 1058 hs->new_session->peer_signature_algorithm = signature_algorithm; in do_read_server_key_exchange() 1059 } else if (!tls1_get_legacy_signature_algorithm(&signature_algorithm, in do_read_server_key_exchange() 1091 if (!ssl_public_key_verify(ssl, signature, signature_algorithm, in do_read_server_key_exchange() 1441 uint16_t signature_algorithm; in do_send_client_certificate_verify() local 1442 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in do_send_client_certificate_verify() 1448 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_client_certificate_verify() 1464 signature_algorithm, in do_send_client_certificate_verify()
|
D | handshake_server.cc | 1044 uint16_t signature_algorithm; in do_send_server_key_exchange() local 1045 if (!tls1_choose_signature_algorithm(hs, &signature_algorithm)) { in do_send_server_key_exchange() 1050 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_server_key_exchange() 1067 signature_algorithm, hs->server_params)) { in do_send_server_key_exchange() 1451 uint16_t signature_algorithm = 0; in do_read_client_certificate_verify() local 1453 if (!CBS_get_u16(&certificate_verify, &signature_algorithm)) { in do_read_client_certificate_verify() 1459 if (!tls12_check_peer_sigalg(hs, &alert, signature_algorithm)) { in do_read_client_certificate_verify() 1463 hs->new_session->peer_signature_algorithm = signature_algorithm; in do_read_client_certificate_verify() 1464 } else if (!tls1_get_legacy_signature_algorithm(&signature_algorithm, in do_read_client_certificate_verify() 1479 if (!ssl_public_key_verify(ssl, signature, signature_algorithm, in do_read_client_certificate_verify()
|
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/ |
D | ec.py | 65 def signer(self, signature_algorithm): argument 96 def sign(self, data, signature_algorithm): argument 120 def verifier(self, signature, signature_algorithm): argument 150 def verify(self, signature, data, signature_algorithm): argument
|
D | dsa.py | 53 def signer(self, signature_algorithm): argument 95 def verifier(self, signature, signature_algorithm): argument
|
/external/libchrome/crypto/ |
D | signature_verifier.h | 49 bool VerifyInit(SignatureAlgorithm signature_algorithm,
|
/external/avb/ |
D | aftltool | 893 signature_algorithm=SignatureAlgorithm.RSA, signature=b''): argument 895 self.signature_algorithm = signature_algorithm 913 (hash_algorithm, signature_algorithm) = struct.unpack( 920 signature_algorithm = SignatureAlgorithm(signature_algorithm) 923 signature_algorithm)) 925 return Signature(hash_algorithm, signature_algorithm, signature) 939 self.signature_algorithm.value)) 1018 signature_algorithm=SignatureAlgorithm.RSA,
|
D | aftltool.py | 893 signature_algorithm=SignatureAlgorithm.RSA, signature=b''): argument 895 self.signature_algorithm = signature_algorithm 913 (hash_algorithm, signature_algorithm) = struct.unpack( 920 signature_algorithm = SignatureAlgorithm(signature_algorithm) 923 signature_algorithm)) 925 return Signature(hash_algorithm, signature_algorithm, signature) 939 self.signature_algorithm.value)) 1018 signature_algorithm=SignatureAlgorithm.RSA,
|
/external/openscreen/cast/receiver/channel/ |
D | device_auth_namespace_handler_unittest.cc | 115 EXPECT_EQ(expected_auth_response.signature_algorithm(), in TEST_F() 116 auth_response.signature_algorithm()); in TEST_F()
|
D | device_auth_namespace_handler.cc | 86 const SignatureAlgorithm sig_alg = challenge.signature_algorithm(); in OnMessage()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/ |
D | json_token.cc | 227 const char* signature_algorithm, in compute_and_encode_signature() argument 229 const EVP_MD* md = openssl_digest_from_algorithm(signature_algorithm); in compute_and_encode_signature()
|
/external/openscreen/cast/common/channel/proto/ |
D | cast_channel.proto | 90 optional SignatureAlgorithm signature_algorithm = 1 field 100 optional SignatureAlgorithm signature_algorithm = 4 field
|
/external/avb/libavb_aftl/ |
D | avb_aftl_types.h | 138 uint8_t signature_algorithm; member
|
D | avb_aftl_util.c | 468 if (!read_u8(&(signature->signature_algorithm), aftl_blob, blob_end)) { in parse_signature() 472 if (signature->signature_algorithm >= _AVB_AFTL_SIGNATURE_ALGORITHM_NUM) { in parse_signature()
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | json_token.cc | 250 const char* signature_algorithm, in compute_and_encode_signature() argument 252 const EVP_MD* md = openssl_digest_from_algorithm(signature_algorithm); in compute_and_encode_signature()
|
/external/avb/proto/crypto/sigpb/ |
D | sigpb.proto | 54 SignatureAlgorithm signature_algorithm = 2; field
|
/external/python/cryptography/src/cryptography/hazmat/backends/ |
D | interfaces.py | 187 self, signature_algorithm, curve
|