Home
last modified time | relevance | path

Searched refs:key_exchange (Results 1 – 13 of 13) sorted by relevance

/external/scapy/scapy/layers/tls/
Dkeyexchange_tls13.py68 self.key_exchange = pubkey.public_numbers().y
75 self.key_exchange = pubkey.public_bytes()
81 self.key_exchange = pubkey.public_numbers().encode_point()
87 if not self.key_exchange:
94 self.kxlen = len(self.key_exchange)
98 return group + kxlen + self.key_exchange + pay
105 public_numbers = dh.DHPublicNumbers(self.key_exchange, pn)
111 self.pubkey = import_point(self.key_exchange)
115 public_numbers = import_point(curve, self.key_exchange)
Dhandshake.py700 if s.pwcs.key_exchange.export:
703 cls = s.pwcs.key_exchange.server_kx_msg_cls(b"\x03")
717 if not s.pwcs.key_exchange.anonymous:
740 if s.prcs and s.prcs.key_exchange.no_ske:
744 not s.prcs.key_exchange.anonymous and
918 if s.prcs and s.prcs.key_exchange:
919 cls = s.prcs.key_exchange.client_kx_msg_cls
942 cls = s.prcs.key_exchange.client_kx_msg_cls
Dautomaton_cli.py220 if not self.cur_session.prcs.key_exchange.anonymous:
260 if not self.cur_session.prcs.key_exchange.no_ske:
Dkeyexchange.py250 cls = s.prcs.key_exchange.server_kx_msg_cls(m)
Dsession.py94 self.key_exchange = ciphersuite.kx_alg()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c666 tls_key_exchange key_exchange) in tlsv1_process_diffie_hellman() argument
734 if (key_exchange == TLS_KEY_X_DHE_RSA) { in tlsv1_process_diffie_hellman()
1095 if (suite && (suite->key_exchange == TLS_KEY_X_DH_anon || in tls_process_server_key_exchange()
1096 suite->key_exchange == TLS_KEY_X_DHE_RSA)) { in tls_process_server_key_exchange()
1098 suite->key_exchange) < 0) { in tls_process_server_key_exchange()
Dtlsv1_common.h217 tls_key_exchange key_exchange; member
Dtlsv1_server_write.c198 if (suite && suite->key_exchange == TLS_KEY_X_DH_anon) { in tls_write_server_certificate()
384 keyx = suite->key_exchange; in tls_write_server_key_exchange()
Dtlsv1_common.c136 switch (suite->key_exchange) { in tls_server_key_exchange_allowed()
Dtlsv1_client_write.c530 keyx = suite->key_exchange; in tls_write_client_key_exchange()
Dtlsv1_server_read.c866 keyx = suite->key_exchange; in tls_process_client_key_exchange()
/external/boringssl/src/ssl/
Dt1_lib.cc2215 CBB key_exchange; in ext_key_share_add_clienthello() local
2219 !CBB_add_u16_length_prefixed(&kse_bytes, &key_exchange) || in ext_key_share_add_clienthello()
2220 !hs->key_shares[0]->Offer(&key_exchange) || in ext_key_share_add_clienthello()
2229 !CBB_add_u16_length_prefixed(&kse_bytes, &key_exchange) || in ext_key_share_add_clienthello()
2230 !hs->key_shares[1]->Offer(&key_exchange) || in ext_key_share_add_clienthello()
/external/scapy/test/
Dtls.uts1057 assert(isinstance(t.tls_session.pwcs.key_exchange, KX_ECDHE_RSA))