Searched refs:csbcpb_aead (Results 1 – 4 of 4) sorted by relevance
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()198 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()199 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()202 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat()203 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat()286 NX_CPB_FDM(nx_ctx->csbcpb_aead) |= in generate_pat()289 NX_CPB_FDM(nx_ctx->csbcpb_aead) &= in generate_pat()[all …]
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()105 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in nx_gca() local116 NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_CONTINUATION; in nx_gca()138 NX_CPB_FDM(csbcpb_aead) |= NX_FDM_INTERMEDIATE; in nx_gca()150 memcpy(csbcpb_aead->cpb.aes_gca.in_pat, in nx_gca()151 csbcpb_aead->cpb.aes_gca.out_pat, in nx_gca()[all …]
293 if (nx_ctx->csbcpb_aead) { in nx_ctx_init()294 nx_ctx->csbcpb_aead->csb.valid |= NX_CSB_VALID_BIT; in nx_ctx_init()297 nx_ctx->op_aead.csbcpb = __pa(nx_ctx->csbcpb_aead); in nx_ctx_init()657 nx_ctx->csbcpb_aead = in nx_crypto_ctx_init()728 nx_ctx->csbcpb_aead = NULL; in nx_crypto_ctx_exit()
127 struct nx_csbcpb *csbcpb_aead; /* secondary csbcpb used by AEAD algs */ member
Completed in 12 milliseconds