Lines Matching refs:xcbc
53 struct cc_xcbc_s xcbc; member
83 struct cc_xcbc_s *xcbc = &ctx->auth_state.xcbc; in cc_aead_exit() local
85 if (xcbc->xcbc_keys) { in cc_aead_exit()
87 xcbc->xcbc_keys, in cc_aead_exit()
88 xcbc->xcbc_keys_dma_addr); in cc_aead_exit()
91 &xcbc->xcbc_keys_dma_addr); in cc_aead_exit()
92 xcbc->xcbc_keys_dma_addr = 0; in cc_aead_exit()
93 xcbc->xcbc_keys = NULL; in cc_aead_exit()
156 struct cc_xcbc_s *xcbc = &ctx->auth_state.xcbc; in cc_aead_init() local
161 xcbc->xcbc_keys = dma_alloc_coherent(dev, key_size, in cc_aead_init()
162 &xcbc->xcbc_keys_dma_addr, in cc_aead_init()
164 if (!xcbc->xcbc_keys) { in cc_aead_init()
261 ctx->auth_state.xcbc.xcbc_keys_dma_addr, ctx->auth_keylen, in xcbc_setkey()
272 set_dout_dlli(&desc[1], ctx->auth_state.xcbc.xcbc_keys_dma_addr, in xcbc_setkey()
278 set_dout_dlli(&desc[2], (ctx->auth_state.xcbc.xcbc_keys_dma_addr in xcbc_setkey()
285 set_dout_dlli(&desc[3], (ctx->auth_state.xcbc.xcbc_keys_dma_addr in xcbc_setkey()
599 memcpy(ctx->auth_state.xcbc.xcbc_keys, authkey, in cc_aead_setkey()
1042 ctx->auth_state.xcbc.xcbc_keys_dma_addr, in cc_set_xcbc_desc()
1055 (ctx->auth_state.xcbc.xcbc_keys_dma_addr + in cc_set_xcbc_desc()
1068 (ctx->auth_state.xcbc.xcbc_keys_dma_addr + in cc_set_xcbc_desc()