Home
last modified time | relevance | path

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

/drivers/crypto/chelsio/
Dchcr_algo.c601 memcpy(key_ctx->key, ablkctx->rrkey, ablkctx->enckey_len); in generate_copy_rrkey()
604 ablkctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey()
605 ablkctx->enckey_len >> 1); in generate_copy_rrkey()
606 memcpy(key_ctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey()
607 ablkctx->rrkey, ablkctx->enckey_len >> 1); in generate_copy_rrkey()
830 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr()
870 ablkctx->enckey_len); in create_cipher_wr()
873 (ablkctx->enckey_len >> 1), in create_cipher_wr()
874 ablkctx->enckey_len >> 1); in create_cipher_wr()
876 (ablkctx->enckey_len >> 1), in create_cipher_wr()
[all …]
Dchcr_crypto.h176 unsigned int enckey_len; member
231 unsigned int enckey_len; member
/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.h49 unsigned int enckey_len; member
Dchcr_ipsec.c196 sa_entry->enckey_len = keylen; in ch_ipsec_setkey()
211 sa_entry->enckey_len = 0; in ch_ipsec_setkey()
218 memcpy(sa_entry->key + (DIV_ROUND_UP(sa_entry->enckey_len, 16) * in ch_ipsec_setkey()
220 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in ch_ipsec_setkey()
/drivers/crypto/
Dixp4xx_crypto.c182 int enckey_len; member
1114 if (!ctx->enckey_len && !ctx->authkey_len) in aead_setup()
1122 ret = setup_cipher(&tfm->base, 0, ctx->enckey, ctx->enckey_len); in aead_setup()
1125 ret = setup_cipher(&tfm->base, 1, ctx->enckey, ctx->enckey_len); in aead_setup()
1167 ctx->enckey_len = keys.enckeylen; in aead_setkey()
1198 ctx->enckey_len = keys.enckeylen; in des3_aead_setkey()