Home
last modified time | relevance | path

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

/openthread-3.5.0/third_party/mbedtls/repo/library/
Dnist_kw.c144 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_wrap() argument
154 *out_len = 0; in mbedtls_nist_kw_wrap()
261 *out_len = semiblocks * KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_wrap()
286 unsigned char *output, size_t* out_len ) in unwrap() argument
295 *out_len = 0; in unwrap()
330 *out_len = ( semiblocks - 1 ) * KW_SEMIBLOCK_LENGTH; in unwrap()
348 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_unwrap() argument
355 *out_len = 0; in mbedtls_nist_kw_unwrap()
377 A, output, out_len ); in mbedtls_nist_kw_unwrap()
419 *out_len = KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_unwrap()
[all …]
Dhmac_drbg.c329 unsigned char *output, size_t out_len, in mbedtls_hmac_drbg_random_with_add() argument
335 size_t left = out_len; in mbedtls_hmac_drbg_random_with_add()
339 if( out_len > MBEDTLS_HMAC_DRBG_MAX_REQUEST ) in mbedtls_hmac_drbg_random_with_add()
399 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len ) in mbedtls_hmac_drbg_random() argument
409 ret = mbedtls_hmac_drbg_random_with_add( ctx, output, out_len, NULL, 0 ); in mbedtls_hmac_drbg_random()
Dssl_msg.c2732 MBEDTLS_PUT_UINT16_BE( len, ssl->out_len, 0); in mbedtls_ssl_write_record()
2772 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->out_len, 0 ); in mbedtls_ssl_write_record()
5061 ssl->out_len = ssl->out_cid; in mbedtls_ssl_update_out_pointers()
5063 ssl->out_len += transform->out_cid_len; in mbedtls_ssl_update_out_pointers()
5065 ssl->out_len = ssl->out_ctr + 8; in mbedtls_ssl_update_out_pointers()
5067 ssl->out_iv = ssl->out_len + 2; in mbedtls_ssl_update_out_pointers()
5073 ssl->out_len = ssl->out_hdr + 3; in mbedtls_ssl_update_out_pointers()
5075 ssl->out_cid = ssl->out_len; in mbedtls_ssl_update_out_pointers()
Dssl_tls.c302 len_offset_out = ssl->out_len - ssl->out_buf; in handle_buffer_resizing()
326 ssl->out_len = ssl->out_buf + len_offset_out; in handle_buffer_resizing()
3985 ssl->out_len = NULL; in mbedtls_ssl_setup()
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
Dhmac_drbg.h394 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
Dssl.h1387 unsigned char *out_len; /*!< two-bytes message length field */ member
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
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 )
Dtest_suite_ssl.function4436 size_t out_len, block_size;
4450 out_len = mbedtls_md_get_size( md_info );
4451 TEST_ASSERT( out_len != 0 );
4455 ASSERT_ALLOC( out, out_len );
4461 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ctx, ref_out, out_len ) );
4462 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ref_ctx, ref_out, out_len ) );
4495 TEST_CF_PUBLIC( out, out_len );
4505 ASSERT_COMPARE( out, out_len, ref_out, out_len );