Lines Matching full:b0
134 unsigned int cryptlen, u8 *b0) in generate_b0() argument
138 memcpy(b0, iv, 16); in generate_b0()
140 lp = b0[0]; in generate_b0()
144 *b0 |= (8 * ((m - 2) / 2)); in generate_b0()
148 *b0 |= 64; in generate_b0()
150 return set_msg_len(b0 + 16 - l, cryptlen, l); in generate_b0()
164 u8 tmp[16], *b1 = NULL, *b0 = NULL, *result = NULL; in generate_pat() local
186 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat()
189 * operation on 2 AES blocks, B0 (stored in the csbcpb) and B1, in generate_pat()
191 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat()
198 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()
202 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()
207 /* generate B0 */ in generate_pat()
208 rc = generate_b0(iv, assoclen, authsize, nbytes, b0); in generate_pat()
306 memcpy(nx_ctx->csbcpb_aead->cpb.aes_cca.b0, in generate_pat()