Home
last modified time | relevance | path

Searched refs:ecpoint_len (Results 1 – 2 of 2) sorted by relevance

/third_party/mbedtls/library/
Dssl_tls12_client.c1717 size_t ecpoint_len; in ssl_parse_server_ecdh_params() local
1764 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()
Dssl_tls12_server.c3848 uint8_t ecpoint_len; in ssl_parse_client_key_exchange() local
3866 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()