Lines Matching refs:aad_bytes
835 min_bytes, bytes, aad_bytes, pc_bytes; in gcm_aes_crypt() local
882 aad_bytes = aadlen; in gcm_aes_crypt()
887 aad_bytes = aadlen; in gcm_aes_crypt()
892 aad_bytes = bytes & ~(AES_BLOCK_SIZE - 1); in gcm_aes_crypt()
897 if (aad_bytes > 0) in gcm_aes_crypt()
898 memcpy(gw_out.ptr, gw_in.ptr, aad_bytes); in gcm_aes_crypt()
901 gw_out.ptr + aad_bytes, in gcm_aes_crypt()
902 gw_in.ptr + aad_bytes, pc_bytes, in gcm_aes_crypt()
903 gw_in.ptr, aad_bytes); in gcm_aes_crypt()
905 n = aad_bytes + pc_bytes; in gcm_aes_crypt()
910 aadlen -= aad_bytes; in gcm_aes_crypt()