Lines Matching refs:cpb
55 csbcpb->cpb.hdr.mode = NX_MODE_AES_CCM; in ccm_aes_nx_set_key()
56 memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); in ccm_aes_nx_set_key()
58 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_CCA; in ccm_aes_nx_set_key()
59 memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); in ccm_aes_nx_set_key()
190 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat()
195 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat()
214 result = nx_ctx->csbcpb->cpb.aes_ccm.out_pat_or_mac; in generate_pat()
219 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()
220 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()
231 result = nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0; in generate_pat()
287 csbcpb->cpb.aes_ccm.in_pat_or_b0); in ccm_nx_decrypt()
292 csbcpb->cpb.aes_ccm.iv_or_ctr); in ccm_nx_decrypt()
308 rc = memcmp(csbcpb->cpb.aes_ccm.out_pat_or_mac, priv->oauth_tag, in ccm_nx_decrypt()
327 csbcpb->cpb.aes_ccm.in_pat_or_b0); in ccm_nx_encrypt()
332 csbcpb->cpb.aes_ccm.iv_or_ctr); in ccm_nx_encrypt()
349 scatterwalk_map_and_copy(csbcpb->cpb.aes_ccm.out_pat_or_mac, in ccm_nx_encrypt()