Searched refs:enckey_len (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 601 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 …]
|
D | chcr_crypto.h | 176 unsigned int enckey_len; member 231 unsigned int enckey_len; member
|
/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
D | chcr_ipsec.h | 49 unsigned int enckey_len; member
|
D | chcr_ipsec.c | 196 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/ |
D | ixp4xx_crypto.c | 182 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()
|