Home
last modified time | relevance | path

Searched refs:ablkctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c106 return ctx->crypto_ctx->ablkctx; in ABLK_CTX()
593 static int generate_copy_rrkey(struct ablk_ctx *ablkctx, in generate_copy_rrkey() argument
596 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() local
823 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr()
[all …]
Dchcr_crypto.h252 DECLARE_FLEX_ARRAY(struct ablk_ctx, ablkctx);