Lines Matching refs:ad_len
791 static void process_ad(ae_ctx* ctx, const void* ad, int ad_len, int final) { in process_ad() argument
803 i = ad_len / (BPI * 16); in process_ad()
853 remaining = ((unsigned)ad_len) % (BPI * 16); in process_ad()
921 int ad_len, void* ct, void* tag, int final) { in ae_encrypt() argument
937 if (ad_len >= 0) in ae_encrypt()
942 if (ad_len > 0) in ae_encrypt()
943 process_ad(ctx, ad, ad_len, final); in ae_encrypt()
1132 int ad_len, void* pt, const void* tag, int final) { in ae_decrypt() argument
1156 if (ad_len >= 0) in ae_decrypt()
1161 if (ad_len > 0) in ae_decrypt()
1162 process_ad(ctx, ad, ad_len, final); in ae_decrypt()