Searched refs:csbcpb_aead (Results 1 – 4 of 4) sorted by relevance
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in gcm_aes_nx_set_key() local36 NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_128); in gcm_aes_nx_set_key()41 NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_192); in gcm_aes_nx_set_key()46 NX_CPB_SET_KEY_SIZE(csbcpb_aead, NX_KS_AES_256); in gcm_aes_nx_set_key()56 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_GCA; in gcm_aes_nx_set_key()57 memcpy(csbcpb_aead->cpb.aes_gca.key, in_key, key_len); in gcm_aes_nx_set_key()105 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in nx_gca() local119 NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_CONTINUATION; in nx_gca()141 NX_CPB_FDM(csbcpb_aead) |= NX_FDM_INTERMEDIATE; in nx_gca()143 NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_INTERMEDIATE; in nx_gca()[all …]
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in ccm_aes_nx_set_key() local36 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()[all …]
316 if (nx_ctx->csbcpb_aead) { in nx_ctx_init()317 nx_ctx->csbcpb_aead->csb.valid |= NX_CSB_VALID_BIT; in nx_ctx_init()320 nx_ctx->op_aead.csbcpb = __pa(nx_ctx->csbcpb_aead); in nx_ctx_init()680 nx_ctx->csbcpb_aead = in nx_crypto_ctx_init()751 nx_ctx->csbcpb_aead = NULL; in nx_crypto_ctx_exit()
123 struct nx_csbcpb *csbcpb_aead; /* secondary csbcpb used by AEAD algs */ member