Home
last modified time | relevance | path

Searched refs:ad_len (Results 1 – 3 of 3) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/library/
Dcipher.c255 const unsigned char *ad, size_t ad_len ) in mbedtls_cipher_update_ad() argument
263 ctx->iv, ctx->iv_size, ad, ad_len ); in mbedtls_cipher_update_ad()
843 const unsigned char *ad, size_t ad_len, in mbedtls_cipher_auth_encrypt() argument
853 iv, iv_len, ad, ad_len, input, output, in mbedtls_cipher_auth_encrypt()
862 iv, iv_len, ad, ad_len, input, output, in mbedtls_cipher_auth_encrypt()
875 const unsigned char *ad, size_t ad_len, in mbedtls_cipher_auth_decrypt() argument
887 iv, iv_len, ad, ad_len, in mbedtls_cipher_auth_decrypt()
903 iv, iv_len, ad, ad_len, in mbedtls_cipher_auth_decrypt()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dcipher.h523 const unsigned char *ad, size_t ad_len );
665 const unsigned char *ad, size_t ad_len,
699 const unsigned char *ad, size_t ad_len,
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_cipher.function469 size_t ad_len, tag_len;
490 ad_len = unhexify( ad, hex_ad );
510 TEST_ASSERT( 0 == mbedtls_cipher_update_ad( &ctx, ad, ad_len ) );
549 size_t key_len, iv_len, cipher_len, clear_len, ad_len, tag_len;
568 ad_len = unhexify( ad, hex_ad );
577 ret = mbedtls_cipher_auth_decrypt( &ctx, iv, iv_len, ad, ad_len,
603 ret = mbedtls_cipher_auth_encrypt( &ctx, iv, iv_len, ad, ad_len,