Home
last modified time | relevance | path

Searched refs:enckey_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c597 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()
823 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr()
863 ablkctx->enckey_len); in create_cipher_wr()
866 (ablkctx->enckey_len >> 1), in create_cipher_wr()
867 ablkctx->enckey_len >> 1); in create_cipher_wr()
869 (ablkctx->enckey_len >> 1), in create_cipher_wr()
[all …]
Dchcr_crypto.h176 unsigned int enckey_len; member
233 unsigned int enckey_len; member
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.h49 unsigned int enckey_len; member
Dchcr_ipsec.c194 sa_entry->enckey_len = keylen; in ch_ipsec_setkey()
209 sa_entry->enckey_len = 0; in ch_ipsec_setkey()
216 memcpy(sa_entry->key + (DIV_ROUND_UP(sa_entry->enckey_len, 16) * in ch_ipsec_setkey()
218 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in ch_ipsec_setkey()
/linux-6.1.9/drivers/crypto/
Dixp4xx_crypto.c183 int enckey_len; member
1206 if (!ctx->enckey_len && !ctx->authkey_len) in aead_setup()
1214 ret = setup_cipher(&tfm->base, 0, ctx->enckey, ctx->enckey_len); in aead_setup()
1217 ret = setup_cipher(&tfm->base, 1, ctx->enckey, ctx->enckey_len); in aead_setup()
1259 ctx->enckey_len = keys.enckeylen; in aead_setkey()
1290 ctx->enckey_len = keys.enckeylen; in des3_aead_setkey()