Lines Matching refs:ad
349 unsigned char ad[13];
397 memset( ad, 0x10 + i, sizeof( ad ) );
417 TEST_ASSERT( 0 == mbedtls_cipher_update_ad( &ctx_dec, ad, sizeof( ad ) - i ) );
418 TEST_ASSERT( 0 == mbedtls_cipher_update_ad( &ctx_enc, ad, sizeof( ad ) - i ) );
720 data_t * clear, data_t * ad, data_t * tag,
732 ((void) ad);
749 TEST_ASSERT( 0 == mbedtls_cipher_update_ad( &ctx, ad->x, ad->len ) );
777 data_t * ad, data_t * cipher, data_t * tag,
805 if( ad->len == 0 )
806 ad->x = NULL;
865 ad->x, ad->len, cipher_plus_tag, cipher_plus_tag_len,
880 ad->x, ad->len, cipher_plus_tag, cipher_plus_tag_len,
928 ad->x, ad->len, clear->x, clear->len,
942 ad->x, ad->len, clear->x, clear->len,