Searched refs:ciph_len (Results 1 – 3 of 3) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/library/ |
D | ssl_srv.c | 805 unsigned int ciph_len, sess_len, chal_len; local 900 ciph_len = ( buf[0] << 8 ) | buf[1]; 905 ciph_len, sess_len, chal_len ) ); 910 if( ciph_len < 3 || ( ciph_len % 3 ) != 0 ) 928 if( n != 6 + ciph_len + sess_len + chal_len ) 935 buf + 6, ciph_len ); 937 buf + 6 + ciph_len, sess_len ); 939 buf + 6 + ciph_len + sess_len, chal_len ); 941 p = buf + 6 + ciph_len; 954 for( i = 0, p = buf + 6; i < ciph_len; i += 3, p += 3 ) [all …]
|
D | ssl_ticket.c | 300 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local 343 state, clear_len, state, &ciph_len, tag, 16 ) ) != 0 ) in mbedtls_ssl_ticket_write() 347 if( ciph_len != clear_len ) in mbedtls_ssl_ticket_write() 353 *tlen = 4 + 12 + 2 + 16 + ciph_len; in mbedtls_ssl_ticket_write()
|
/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | test_suite_pk.function | 430 size_t sig_len, ciph_len, test_len; 470 ciph, &ciph_len, sizeof ciph, 472 TEST_ASSERT( mbedtls_pk_decrypt( &alt, ciph, ciph_len, 480 ciph, &ciph_len, sizeof ciph,
|