Home
last modified time | relevance | path

Searched refs:kctx_len (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.h111 #define TRANSHDR_SIZE(kctx_len)\ argument
113 kctx_len)
114 #define CIPHER_TRANSHDR_SIZE(kctx_len, sge_pairs) \ argument
115 (TRANSHDR_SIZE((kctx_len)) + (sge_pairs) +\
117 #define HASH_TRANSHDR_SIZE(kctx_len)\ argument
118 (TRANSHDR_SIZE(kctx_len) + DUMMY_BYTES)
249 unsigned int kctx_len; member
Dchcr_algo.c813 unsigned int kctx_len; in create_cipher_wr() local
823 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr()
824 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr()
874 phys_cpl = (struct cpl_rx_phys_dsgl *)((u8 *)(chcr_req + 1) + kctx_len); in create_cipher_wr()
880 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr()
1283 unsigned int dnents = 0, transhdr_len, phys_dsgl, kctx_len; in process_cipher() local
1288 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher()
1289 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, phys_dsgl); in process_cipher()
1580 transhdr_len = HASH_TRANSHDR_SIZE(param->kctx_len); in create_hash_wr()
1623 ((param->kctx_len + in create_hash_wr()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c218 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in ch_ipsec_setkey()
346 unsigned int kctx_len; in is_eth_imm() local
349 kctx_len = sa_entry->kctx_len; in is_eth_imm()
351 sizeof(struct chcr_ipsec_req) + kctx_len; in is_eth_imm()
366 unsigned int kctx_len; in calc_tx_sec_flits() local
371 kctx_len = sa_entry->kctx_len; in calc_tx_sec_flits()
399 kctx_len + in calc_tx_sec_flits()
519 key_len = sa_entry->kctx_len; in copy_key_cpltx_pktxt()
575 unsigned int kctx_len = sa_entry->kctx_len; in ch_ipsec_crypto_wreq() local
616 kctx_len + in ch_ipsec_crypto_wreq()
Dchcr_ipsec.h50 unsigned int kctx_len; member