Searched refs:out_len (Results 1 – 9 of 9) sorted by relevance
/mbedtls-development/library/ |
A D | nist_kw.c | 173 *out_len = 0; in mbedtls_nist_kw_wrap() 280 *out_len = semiblocks * KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_wrap() 314 *out_len = 0; in unwrap() 349 *out_len = ( semiblocks - 1 ) * KW_SEMIBLOCK_LENGTH; in unwrap() 374 *out_len = 0; in mbedtls_nist_kw_unwrap() 396 A, output, out_len ); in mbedtls_nist_kw_unwrap() 438 *out_len = KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_unwrap() 444 A, output, out_len ); in mbedtls_nist_kw_unwrap() 490 *out_len = Plen; in mbedtls_nist_kw_unwrap() 501 memset( output, 0, *out_len ); in mbedtls_nist_kw_unwrap() [all …]
|
A D | hmac_drbg.c | 320 unsigned char *output, size_t out_len, in mbedtls_hmac_drbg_random_with_add() argument 326 size_t left = out_len; in mbedtls_hmac_drbg_random_with_add() 330 if( out_len > MBEDTLS_HMAC_DRBG_MAX_REQUEST ) in mbedtls_hmac_drbg_random_with_add() 390 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len ) in mbedtls_hmac_drbg_random() argument 400 ret = mbedtls_hmac_drbg_random_with_add( ctx, output, out_len, NULL, 0 ); in mbedtls_hmac_drbg_random()
|
A D | ssl_msg.c | 2574 MBEDTLS_PUT_UINT16_BE( len, ssl->out_len, 0); in mbedtls_ssl_write_record() 2614 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->out_len, 0 ); in mbedtls_ssl_write_record() 4842 ssl->out_len = ssl->out_cid; in mbedtls_ssl_update_out_pointers() 4844 ssl->out_len += transform->out_cid_len; in mbedtls_ssl_update_out_pointers() 4846 ssl->out_len = ssl->out_ctr + MBEDTLS_SSL_SEQUENCE_NUMBER_LEN; in mbedtls_ssl_update_out_pointers() 4848 ssl->out_iv = ssl->out_len + 2; in mbedtls_ssl_update_out_pointers() 4853 ssl->out_len = ssl->out_hdr + 3; in mbedtls_ssl_update_out_pointers() 4855 ssl->out_cid = ssl->out_len; in mbedtls_ssl_update_out_pointers()
|
A D | ssl_tls.c | 293 len_offset_out = ssl->out_len - ssl->out_buf; in handle_buffer_resizing() 317 ssl->out_len = ssl->out_buf + len_offset_out; in handle_buffer_resizing() 3286 ssl->out_len = NULL; in mbedtls_ssl_setup()
|
/mbedtls-development/include/mbedtls/ |
A D | nist_kw.h | 135 unsigned char *output, size_t* out_len, size_t out_size ); 162 unsigned char *output, size_t* out_len, size_t out_size);
|
A D | hmac_drbg.h | 391 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
|
A D | ssl.h | 1587 unsigned char *MBEDTLS_PRIVATE(out_len); /*!< two-bytes message length field */
|
/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 ) 155 size_t output_len = out_len; 167 if( out_len != 0 ) 200 void nist_kw_ciphertext_lengths( int in_len, int out_len, int mode, int res ) 207 size_t output_len = out_len; 213 if( out_len != 0 )
|
A D | test_suite_ssl.function | 4661 size_t out_len, block_size; 4675 out_len = mbedtls_md_get_size( md_info ); 4676 TEST_ASSERT( out_len != 0 ); 4680 ASSERT_ALLOC( out, out_len ); 4686 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ctx, ref_out, out_len ) ); 4687 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ref_ctx, ref_out, out_len ) ); 4720 TEST_CF_PUBLIC( out, out_len ); 4730 ASSERT_COMPARE( out, out_len, ref_out, out_len );
|
Completed in 36 milliseconds