Searched refs:ecpoint_len (Results 1 – 2 of 2) sorted by relevance
1717 size_t ecpoint_len; in ssl_parse_server_ecdh_params() local1764 ecpoint_len = *(*p)++; in ssl_parse_server_ecdh_params()1765 if ((size_t) (end - *p) < ecpoint_len) { in ssl_parse_server_ecdh_params()1769 if (ecpoint_len > sizeof(handshake->ecdh_psa_peerkey)) { in ssl_parse_server_ecdh_params()1773 memcpy(handshake->ecdh_psa_peerkey, *p, ecpoint_len); in ssl_parse_server_ecdh_params()1774 handshake->ecdh_psa_peerkey_len = ecpoint_len; in ssl_parse_server_ecdh_params()1775 *p += ecpoint_len; in ssl_parse_server_ecdh_params()
3848 uint8_t ecpoint_len; in ssl_parse_client_key_exchange() local3866 ecpoint_len = *(p++); in ssl_parse_client_key_exchange()3867 if ((size_t) (end - p) < ecpoint_len) { in ssl_parse_client_key_exchange()3873 if (ecpoint_len > sizeof(handshake->ecdh_psa_peerkey)) { in ssl_parse_client_key_exchange()3879 memcpy(handshake->ecdh_psa_peerkey, p, ecpoint_len); in ssl_parse_client_key_exchange()3880 handshake->ecdh_psa_peerkey_len = ecpoint_len; in ssl_parse_client_key_exchange()3881 p += ecpoint_len; in ssl_parse_client_key_exchange()