Lines Matching refs:dynamic_iv_len
670 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()
1034 rec->data_len += dynamic_iv_len; in mbedtls_ssl_encrypt_buf()
1345 size_t dynamic_iv_len; in mbedtls_ssl_decrypt_buf() local
1358 dynamic_iv_len = sizeof( rec->ctr ); in mbedtls_ssl_decrypt_buf()
1361 if( rec->data_len < dynamic_iv_len ) in mbedtls_ssl_decrypt_buf()
1366 dynamic_iv_len ) ); in mbedtls_ssl_decrypt_buf()
1371 data += dynamic_iv_len; in mbedtls_ssl_decrypt_buf()
1372 rec->data_offset += dynamic_iv_len; in mbedtls_ssl_decrypt_buf()
1373 rec->data_len -= dynamic_iv_len; in mbedtls_ssl_decrypt_buf()
1398 dynamic_iv_len ); in mbedtls_ssl_decrypt_buf()