Lines Matching refs:aadlen
346 const u_char *src, u_int len, u_int aadlen, u_int authlen) in cipher_crypt() argument
350 len, aadlen, authlen, cc->encrypt); in cipher_crypt()
353 memcpy(dest, src, aadlen + len); in cipher_crypt()
358 if (aadlen) in cipher_crypt()
359 memcpy(dest, src, aadlen); in cipher_crypt()
360 aesctr_encrypt_bytes(&cc->ac_ctx, src + aadlen, in cipher_crypt()
361 dest + aadlen, len); in cipher_crypt()
378 authlen, (u_char *)src + aadlen + len)) in cipher_crypt()
381 if (aadlen) { in cipher_crypt()
383 EVP_Cipher(cc->evp, NULL, (u_char *)src, aadlen) < 0) in cipher_crypt()
385 memcpy(dest, src, aadlen); in cipher_crypt()
389 if (EVP_Cipher(cc->evp, dest + aadlen, (u_char *)src + aadlen, in cipher_crypt()
399 authlen, dest + aadlen + len)) in cipher_crypt()