Searched refs:key_exchange (Results 1 – 13 of 13) sorted by relevance
68 self.key_exchange = pubkey.public_numbers().y75 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 + pay105 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)
700 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 and918 if s.prcs and s.prcs.key_exchange:919 cls = s.prcs.key_exchange.client_kx_msg_cls942 cls = s.prcs.key_exchange.client_kx_msg_cls
220 if not self.cur_session.prcs.key_exchange.anonymous:260 if not self.cur_session.prcs.key_exchange.no_ske:
250 cls = s.prcs.key_exchange.server_kx_msg_cls(m)
94 self.key_exchange = ciphersuite.kx_alg()
666 tls_key_exchange key_exchange) in tlsv1_process_diffie_hellman() argument734 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()
217 tls_key_exchange key_exchange; member
198 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()
136 switch (suite->key_exchange) { in tls_server_key_exchange_allowed()
530 keyx = suite->key_exchange; in tls_write_client_key_exchange()
866 keyx = suite->key_exchange; in tls_process_client_key_exchange()
2215 CBB key_exchange; in ext_key_share_add_clienthello() local2219 !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()
1057 assert(isinstance(t.tls_session.pwcs.key_exchange, KX_ECDHE_RSA))