csbcpb_aead 29 drivers/crypto/nx/nx-aes-ccm.c struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; csbcpb_aead 36 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_128); csbcpb_aead 46 drivers/crypto/nx/nx-aes-ccm.c csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_CCA; csbcpb_aead 47 drivers/crypto/nx/nx-aes-ccm.c memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); csbcpb_aead 201 drivers/crypto/nx/nx-aes-ccm.c b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; csbcpb_aead 202 drivers/crypto/nx/nx-aes-ccm.c b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; csbcpb_aead 205 drivers/crypto/nx/nx-aes-ccm.c b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; csbcpb_aead 206 drivers/crypto/nx/nx-aes-ccm.c b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; csbcpb_aead 291 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(nx_ctx->csbcpb_aead) |= csbcpb_aead 294 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(nx_ctx->csbcpb_aead) &= csbcpb_aead 302 drivers/crypto/nx/nx-aes-ccm.c result = nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0; csbcpb_aead 309 drivers/crypto/nx/nx-aes-ccm.c memcpy(nx_ctx->csbcpb_aead->cpb.aes_cca.b0, csbcpb_aead 310 drivers/crypto/nx/nx-aes-ccm.c nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0, csbcpb_aead 313 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(nx_ctx->csbcpb_aead) |= NX_FDM_CONTINUATION; csbcpb_aead 321 drivers/crypto/nx/nx-aes-ccm.c result = nx_ctx->csbcpb_aead->cpb.aes_cca.out_pat_or_b0; csbcpb_aead 29 drivers/crypto/nx/nx-aes-gcm.c struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; csbcpb_aead 36 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_128); csbcpb_aead 41 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_192); csbcpb_aead 46 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_256); csbcpb_aead 56 drivers/crypto/nx/nx-aes-gcm.c csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_GCA; csbcpb_aead 57 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb_aead->cpb.aes_gca.key, in_key, key_len); csbcpb_aead 105 drivers/crypto/nx/nx-aes-gcm.c struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; csbcpb_aead 119 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_CONTINUATION; csbcpb_aead 141 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb_aead) |= NX_FDM_INTERMEDIATE; csbcpb_aead 143 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_INTERMEDIATE; csbcpb_aead 153 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb_aead->cpb.aes_gca.in_pat, csbcpb_aead 154 drivers/crypto/nx/nx-aes-gcm.c csbcpb_aead->cpb.aes_gca.out_pat, csbcpb_aead 156 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb_aead) |= NX_FDM_CONTINUATION; csbcpb_aead 164 drivers/crypto/nx/nx-aes-gcm.c memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); csbcpb_aead 316 drivers/crypto/nx/nx.c if (nx_ctx->csbcpb_aead) { csbcpb_aead 317 drivers/crypto/nx/nx.c nx_ctx->csbcpb_aead->csb.valid |= NX_CSB_VALID_BIT; csbcpb_aead 320 drivers/crypto/nx/nx.c nx_ctx->op_aead.csbcpb = __pa(nx_ctx->csbcpb_aead); csbcpb_aead 679 drivers/crypto/nx/nx.c nx_ctx->csbcpb_aead = csbcpb_aead 750 drivers/crypto/nx/nx.c nx_ctx->csbcpb_aead = NULL; csbcpb_aead 123 drivers/crypto/nx/nx.h struct nx_csbcpb *csbcpb_aead; /* secondary csbcpb used by AEAD algs */