Lines Matching refs:assoc
77 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_mac() argument
83 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); in aesgcm_mac()
136 int crypt_len, const u8 *assoc, int assoc_len, in aesgcm_encrypt() argument
144 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt()
166 const u8 *src, int crypt_len, const u8 *assoc, in aesgcm_decrypt() argument
175 aesgcm_mac(ctx, src, crypt_len, assoc, assoc_len, ctr, tagbuf); in aesgcm_decrypt()
551 u8 assoc[20]; member
586 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
645 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
660 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
696 aesgcm_tv[i].assoc, aesgcm_tv[i].alen, in libaesgcm_init()
704 aesgcm_encrypt(&ctx, buf, buf, plen, aesgcm_tv[i].assoc, in libaesgcm_init()
712 if (!aesgcm_decrypt(&ctx, buf, buf, plen, aesgcm_tv[i].assoc, in libaesgcm_init()