Searched refs:ablkctx (Results 1 – 2 of 2) sorted by relevance
106 return ctx->crypto_ctx->ablkctx; in ABLK_CTX()593 static int generate_copy_rrkey(struct ablk_ctx *ablkctx, in generate_copy_rrkey() argument596 if (ablkctx->ciph_mode == CHCR_SCMD_CIPHER_MODE_AES_CBC) { in generate_copy_rrkey()597 memcpy(key_ctx->key, ablkctx->rrkey, ablkctx->enckey_len); in generate_copy_rrkey()600 ablkctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey()601 ablkctx->enckey_len >> 1); in generate_copy_rrkey()602 memcpy(key_ctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey()603 ablkctx->rrkey, ablkctx->enckey_len >> 1); in generate_copy_rrkey()803 struct ablk_ctx *ablkctx = ABLK_CTX(ctx); in create_cipher_wr() local823 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr()[all …]
252 DECLARE_FLEX_ARRAY(struct ablk_ctx, ablkctx);