Home
last modified time | relevance | path

Searched refs:dynamic_iv_len (Results 1 – 2 of 2) sorted by relevance

/external/openthread/third_party/mbedtls/repo/library/
Dssl_msg.c578 size_t dynamic_iv_len ) in ssl_build_record_nonce() argument
586 dst_iv += dst_iv_len - dynamic_iv_len; in ssl_build_record_nonce()
587 for( i = 0; i < dynamic_iv_len; i++ ) in ssl_build_record_nonce()
847 size_t dynamic_iv_len; in mbedtls_ssl_encrypt_buf() local
871 dynamic_iv_len = sizeof( rec->ctr ); in mbedtls_ssl_encrypt_buf()
877 dynamic_iv_len ); in mbedtls_ssl_encrypt_buf()
890 dynamic_iv_is_explicit ? dynamic_iv_len : 0 ); in mbedtls_ssl_encrypt_buf()
923 if( rec->data_offset < dynamic_iv_len ) in mbedtls_ssl_encrypt_buf()
929 memcpy( data - dynamic_iv_len, dynamic_iv, dynamic_iv_len ); in mbedtls_ssl_encrypt_buf()
930 rec->data_offset -= dynamic_iv_len; in mbedtls_ssl_encrypt_buf()
[all …]
/external/mbedtls/library/
Dssl_msg.c670 size_t dynamic_iv_len ) in ssl_build_record_nonce() argument
678 dst_iv += dst_iv_len - dynamic_iv_len; in ssl_build_record_nonce()
679 for( i = 0; i < dynamic_iv_len; i++ ) in ssl_build_record_nonce()
928 size_t dynamic_iv_len; in mbedtls_ssl_encrypt_buf() local
956 dynamic_iv_len = sizeof( rec->ctr ); in mbedtls_ssl_encrypt_buf()
962 dynamic_iv_len ); in mbedtls_ssl_encrypt_buf()
976 dynamic_iv_is_explicit ? dynamic_iv_len : 0 ); in mbedtls_ssl_encrypt_buf()
1026 if( rec->data_offset < dynamic_iv_len ) in mbedtls_ssl_encrypt_buf()
1032 memcpy( data - dynamic_iv_len, dynamic_iv, dynamic_iv_len ); in mbedtls_ssl_encrypt_buf()
1033 rec->data_offset -= dynamic_iv_len; in mbedtls_ssl_encrypt_buf()
[all …]