Searched refs:kkpp_len (Results 1 – 2 of 2) sorted by relevance
/mbedtls-3.6.0/library/ |
D | ssl_tls12_client.c | 135 size_t kkpp_len = 0; in ssl_write_ecjpake_kkpp_ext() local 169 p + 2, end - p - 2, &kkpp_len, in ssl_write_ecjpake_kkpp_ext() 179 p + 2, end - p - 2, &kkpp_len, in ssl_write_ecjpake_kkpp_ext() 188 ssl->handshake->ecjpake_cache = mbedtls_calloc(1, kkpp_len); in ssl_write_ecjpake_kkpp_ext() 194 memcpy(ssl->handshake->ecjpake_cache, p + 2, kkpp_len); in ssl_write_ecjpake_kkpp_ext() 195 ssl->handshake->ecjpake_cache_len = kkpp_len; in ssl_write_ecjpake_kkpp_ext() 199 kkpp_len = ssl->handshake->ecjpake_cache_len; in ssl_write_ecjpake_kkpp_ext() 200 MBEDTLS_SSL_CHK_BUF_PTR(p + 2, end, kkpp_len); in ssl_write_ecjpake_kkpp_ext() 202 memcpy(p + 2, ssl->handshake->ecjpake_cache, kkpp_len); in ssl_write_ecjpake_kkpp_ext() 205 MBEDTLS_PUT_UINT16_BE(kkpp_len, p, 0); in ssl_write_ecjpake_kkpp_ext() [all …]
|
D | ssl_tls12_server.c | 1931 size_t kkpp_len; in ssl_write_ecjpake_kkpp_ext() local 1953 p + 2, end - p - 2, &kkpp_len, in ssl_write_ecjpake_kkpp_ext() 1963 p + 2, end - p - 2, &kkpp_len, in ssl_write_ecjpake_kkpp_ext() 1971 MBEDTLS_PUT_UINT16_BE(kkpp_len, p, 0); in ssl_write_ecjpake_kkpp_ext() 1974 *olen = kkpp_len + 4; in ssl_write_ecjpake_kkpp_ext()
|