Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 9 of 9) sorted by relevance

/mbedtls-development/library/
A Dnist_kw.c173 *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 Dhmac_drbg.c320 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 Dssl_msg.c2574 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 Dssl_tls.c293 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 Dnist_kw.h135 unsigned char *output, size_t* out_len, size_t out_size );
162 unsigned char *output, size_t* out_len, size_t out_size);
A Dhmac_drbg.h391 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
A Dssl.h1587 unsigned char *MBEDTLS_PRIVATE(out_len); /*!< two-bytes message length field */
/mbedtls-development/tests/suites/
A Dtest_suite_nist_kw.function149 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 Dtest_suite_ssl.function4661 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