Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dssl_cli.c356 size_t kkpp_len; local
386 p + 2, end - p - 2, &kkpp_len,
394 ssl->handshake->ecjpake_cache = mbedtls_calloc( 1, kkpp_len );
401 memcpy( ssl->handshake->ecjpake_cache, p + 2, kkpp_len );
402 ssl->handshake->ecjpake_cache_len = kkpp_len;
408 kkpp_len = ssl->handshake->ecjpake_cache_len;
410 if( (size_t)( end - p - 2 ) < kkpp_len )
416 memcpy( p + 2, ssl->handshake->ecjpake_cache, kkpp_len );
419 *p++ = (unsigned char)( ( kkpp_len >> 8 ) & 0xFF );
420 *p++ = (unsigned char)( ( kkpp_len ) & 0xFF );
[all …]
Dssl_srv.c2081 size_t kkpp_len; local
2102 p + 2, end - p - 2, &kkpp_len,
2110 *p++ = (unsigned char)( ( kkpp_len >> 8 ) & 0xFF );
2111 *p++ = (unsigned char)( ( kkpp_len ) & 0xFF );
2113 *olen = kkpp_len + 4;