Searched refs:encoded_pubkey (Results 1 – 2 of 2) sorted by relevance
620 static int tls_accept_ksgroup(SSL_CONNECTION *s, uint16_t ksgroup, PACKET *encoded_pubkey) in tls_accept_ksgroup() argument634 PACKET_data(encoded_pubkey), in tls_accept_ksgroup()635 PACKET_remaining(encoded_pubkey)) in tls_accept_ksgroup()657 PACKET encoded_pubkey; in extract_keyshares() local677 || !PACKET_get_length_prefixed_2(key_share_list, &encoded_pubkey) in extract_keyshares()678 || PACKET_remaining(&encoded_pubkey) == 0) { in extract_keyshares()719 if (!tls_accept_ksgroup(s, s->s3.group_id, &encoded_pubkey)) in extract_keyshares()739 (*encoded_pubkey_arr)[(*keyshares_cnt)++] = encoded_pubkey; in extract_keyshares()1929 unsigned char *encoded_pubkey; in tls_construct_stoc_key_share() local1992 encoded_pubkey_len = EVP_PKEY_get1_encoded_public_key(skey, &encoded_pubkey); in tls_construct_stoc_key_share()[all …]
642 unsigned char *encoded_pubkey = NULL; in add_key_share() local666 &encoded_pubkey); in add_key_share()674 || !WPACKET_sub_memcpy_u16(pkt, encoded_pubkey, encodedlen)) { in add_key_share()690 OPENSSL_free(encoded_pubkey); in add_key_share()696 OPENSSL_free(encoded_pubkey); in add_key_share()