Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.h48 unsigned int enckey_len; member
Dchcr_ipsec.c193 sa_entry->enckey_len = keylen; in ch_ipsec_setkey()
208 sa_entry->enckey_len = 0; in ch_ipsec_setkey()
215 memcpy(sa_entry->key + (DIV_ROUND_UP(sa_entry->enckey_len, 16) * in ch_ipsec_setkey()
217 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in ch_ipsec_setkey()
/linux-6.12.1/drivers/crypto/intel/ixp4xx/
Dixp4xx_crypto.c183 int enckey_len; member
1209 if (!ctx->enckey_len && !ctx->authkey_len) in aead_setup()
1217 ret = setup_cipher(&tfm->base, 0, ctx->enckey, ctx->enckey_len); in aead_setup()
1220 ret = setup_cipher(&tfm->base, 1, ctx->enckey, ctx->enckey_len); in aead_setup()
1262 ctx->enckey_len = keys.enckeylen; in aead_setkey()
1293 ctx->enckey_len = keys.enckeylen; in des3_aead_setkey()