Lines Matching refs:csbcpb_aead
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in ccm_aes_nx_set_key() local
36 NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_128); in ccm_aes_nx_set_key()
46 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_CCA; in ccm_aes_nx_set_key()
47 memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); in ccm_aes_nx_set_key()
201 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()
202 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()
205 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()
206 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()
291 NX_CPB_FDM(nx_ctx->csbcpb_aead) |= in generate_pat()
294 NX_CPB_FDM(nx_ctx->csbcpb_aead) &= in generate_pat()
302 result = nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0; in generate_pat()
309 memcpy(nx_ctx->csbcpb_aead->cpb.aes_cca.b0, in generate_pat()
310 nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0, in generate_pat()
313 NX_CPB_FDM(nx_ctx->csbcpb_aead) |= NX_FDM_CONTINUATION; in generate_pat()
321 result = nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0; in generate_pat()