Lines Matching refs:ad_len
802 static void process_ad(ae_ctx* ctx, const void* ad, int ad_len, int final) { in process_ad() argument
814 i = ad_len / (BPI * 16); in process_ad()
864 remaining = ((unsigned)ad_len) % (BPI * 16); in process_ad()
939 int ad_len, void* ct, void* tag, int final) { in ae_encrypt() argument
955 if (ad_len >= 0) in ae_encrypt()
960 if (ad_len > 0) in ae_encrypt()
961 process_ad(ctx, ad, ad_len, final); in ae_encrypt()
1156 int ad_len, void* pt, const void* tag, int final) { in ae_decrypt() argument
1180 if (ad_len >= 0) in ae_decrypt()
1185 if (ad_len > 0) in ae_decrypt()
1186 process_ad(ctx, ad, ad_len, final); in ae_decrypt()