Lines Matching full:b1
164 u8 tmp[16], *b1 = NULL, *b0 = NULL, *result = NULL; in generate_pat() local
189 * operation on 2 AES blocks, B0 (stored in the csbcpb) and B1, in generate_pat()
192 b1 = nx_ctx->priv.ccm.iauth_tag; in generate_pat()
196 * B1 differently and feed in the associated data to a CCA in generate_pat()
199 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()
203 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()
212 /* generate B1: in generate_pat()
216 if (b1) { in generate_pat()
217 memset(b1, 0, 16); in generate_pat()
219 *(u16 *)b1 = assoclen; in generate_pat()
220 scatterwalk_map_and_copy(b1 + 2, req->src, 0, in generate_pat()
223 *(u16 *)b1 = (u16)(0xfffe); in generate_pat()
224 *(u32 *)&b1[2] = assoclen; in generate_pat()
225 scatterwalk_map_and_copy(b1 + 6, req->src, 0, in generate_pat()
236 nx_insg = nx_build_sg_list(nx_insg, b1, &len, nx_ctx->ap->sglen); in generate_pat()