Home
last modified time | relevance | path

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

/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_hmac_drbg.function175 size_t custom_len, add1_len, add2_len, out_len;
186 out_len = unhexify( output, output_hex );
198 TEST_ASSERT( mbedtls_hmac_drbg_random_with_add( &ctx, my_output, out_len,
200 TEST_ASSERT( mbedtls_hmac_drbg_random_with_add( &ctx, my_output, out_len,
206 TEST_ASSERT( memcmp( my_output, output, out_len ) == 0 );
211 TEST_ASSERT( mbedtls_hmac_drbg_random_with_add( &ctx, my_output, out_len,
213 TEST_ASSERT( mbedtls_hmac_drbg_random_with_add( &ctx, my_output, out_len,
215 TEST_ASSERT( memcmp( my_output, output, out_len ) == 0 );
235 size_t custom_len, add1_len, add2_len, add3_len, out_len;
247 out_len = unhexify( output, output_hex );
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dhmac_drbg.c250 unsigned char *output, size_t out_len, in mbedtls_hmac_drbg_random_with_add() argument
256 size_t left = out_len; in mbedtls_hmac_drbg_random_with_add()
260 if( out_len > MBEDTLS_HMAC_DRBG_MAX_REQUEST ) in mbedtls_hmac_drbg_random_with_add()
309 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len ) in mbedtls_hmac_drbg_random() argument
319 ret = mbedtls_hmac_drbg_random_with_add( ctx, output, out_len, NULL, 0 ); in mbedtls_hmac_drbg_random()
Dssl_tls.c1298 mbedtls_md_hmac_update( &ssl->transform_out->md_ctx_enc, ssl->out_len, 2 ); in ssl_encrypt_buf()
2817 ssl->out_len[0] = (unsigned char)( len >> 8 ); in mbedtls_ssl_write_record()
2818 ssl->out_len[1] = (unsigned char)( len ); in mbedtls_ssl_write_record()
2829 ssl->out_len[0] = (unsigned char)( len >> 8 ); in mbedtls_ssl_write_record()
2830 ssl->out_len[1] = (unsigned char)( len ); in mbedtls_ssl_write_record()
2838 ( ssl->out_len[0] << 8 ) | ssl->out_len[1] ) ); in mbedtls_ssl_write_record()
5418 ssl->out_len = ssl->out_buf + 11; in mbedtls_ssl_setup()
5433 ssl->out_len = ssl->out_buf + 11; in mbedtls_ssl_setup()
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dhmac_drbg.h250 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
Dssl.h848 unsigned char *out_len; /*!< two-bytes message length field */ member