Searched refs:in_len (Results 1 – 10 of 10) sorted by relevance
/mbedtls-development/library/ |
A D | nist_kw.c | 188 if( in_len < 16 || in mbedtls_nist_kw_wrap() 190 in_len > 0x1FFFFFFFFFFFFF8 || in mbedtls_nist_kw_wrap() 192 in_len % KW_SEMIBLOCK_LENGTH != 0 ) in mbedtls_nist_kw_wrap() 202 if( in_len % 8 != 0 ) in mbedtls_nist_kw_wrap() 204 padlen = ( 8 - ( in_len % 8 ) ); in mbedtls_nist_kw_wrap() 216 if( in_len < 1 in mbedtls_nist_kw_wrap() 218 || in_len > 0xFFFFFFFF in mbedtls_nist_kw_wrap() 237 && in_len <= KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_wrap() 386 if( in_len < 24 || in mbedtls_nist_kw_unwrap() 388 in_len > 0x200000000000000 || in mbedtls_nist_kw_unwrap() [all …]
|
A D | ssl_msg.c | 3121 if( in_len < 61 || in ssl_check_dtls_clihlo_cookie() 3130 if( sid_len > in_len - 61 ) in ssl_check_dtls_clihlo_cookie() 3134 if( cookie_len > in_len - 60 ) in ssl_check_dtls_clihlo_cookie() 4426 ssl->in_len = ssl->in_cid + rec.cid_len; in ssl_get_next_record() 4559 ssl->in_len = ssl->in_cid + rec.cid_len; in ssl_get_next_record() 4561 ssl->in_iv = ssl->in_len + 2; in ssl_get_next_record() 4573 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->in_len, 0 ); in ssl_get_next_record() 4896 ssl->in_len = ssl->in_cid; /* Default: no CID */ in mbedtls_ssl_update_in_pointers() 4900 ssl->in_iv = ssl->in_len + 2; in mbedtls_ssl_update_in_pointers() 4906 ssl->in_len = ssl->in_hdr + 3; in mbedtls_ssl_update_in_pointers() [all …]
|
A D | cmac.c | 410 const unsigned char *input, size_t in_len, in mbedtls_aes_cmac_prf_128() argument 444 ret = mbedtls_cipher_cmac( cipher_info, int_key, 128, input, in_len, in mbedtls_aes_cmac_prf_128()
|
A D | ssl_srv.c | 1190 ( ssl->in_len[0] << 8 ) | ssl->in_len[1] ) ); in ssl_parse_client_hello() 1241 msg_len = ( ssl->in_len[0] << 8 ) | ssl->in_len[1]; in ssl_parse_client_hello()
|
A D | ssl_tls.c | 271 len_offset_in = ssl->in_len - ssl->in_buf; in handle_buffer_resizing() 321 ssl->in_len = ssl->in_buf + len_offset_in; in handle_buffer_resizing() 3280 ssl->in_len = NULL; in mbedtls_ssl_setup()
|
/mbedtls-development/tests/suites/ |
A D | test_suite_nist_kw.function | 149 void nist_kw_plaintext_lengths( int in_len, int out_len, int mode, int res ) 161 if( in_len != 0 ) 163 plaintext = mbedtls_calloc( 1, in_len ); 176 TEST_ASSERT( mbedtls_nist_kw_wrap( &ctx, mode, plaintext, in_len, 182 TEST_ASSERT( output_len == (size_t) in_len + 8 - 183 ( in_len % 8 ) + 8 ); 185 TEST_ASSERT( output_len == (size_t) in_len + 8 ); 200 void nist_kw_ciphertext_lengths( int in_len, int out_len, int mode, int res ) 218 if( in_len != 0 ) 220 ciphertext = mbedtls_calloc( 1, in_len ); [all …]
|
A D | test_suite_ssl.function | 4662 size_t min_in_len, in_len, max_in_len, i; 4703 for( in_len = min_in_len; in_len <= max_in_len; in_len++ ) 4705 mbedtls_test_set_step( max_in_len * 10000 + in_len ); 4710 for( i = 0; i < in_len; i++ ) 4714 TEST_CF_SECRET( &in_len, sizeof( in_len ) ); 4716 data, in_len, 4719 TEST_CF_PUBLIC( &in_len, sizeof( in_len ) ); 4725 TEST_EQUAL( 0, mbedtls_md_hmac_update( &ref_ctx, data, in_len ) );
|
/mbedtls-development/include/mbedtls/ |
A D | nist_kw.h | 134 const unsigned char *input, size_t in_len, 161 const unsigned char *input, size_t in_len,
|
A D | cmac.h | 198 const unsigned char *input, size_t in_len,
|
A D | ssl.h | 1531 unsigned char *MBEDTLS_PRIVATE(in_len); /*!< two-bytes message length field */
|
Completed in 58 milliseconds