Searched refs:kctx_len (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/crypto/chelsio/ |
D | chcr_ipsec.c | 187 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in chcr_ipsec_setkey() 304 static inline int is_eth_imm(const struct sk_buff *skb, unsigned int kctx_len) in is_eth_imm() argument 306 int hdrlen = sizeof(struct chcr_ipsec_req) + kctx_len; in is_eth_imm() 315 unsigned int kctx_len) in calc_tx_sec_flits() argument 318 int hdrlen = is_eth_imm(skb, kctx_len); in calc_tx_sec_flits() 340 kctx_len + in calc_tx_sec_flits() 401 key_len = sa_entry->kctx_len; in copy_key_cpltx_pktxt() 448 unsigned int kctx_len = sa_entry->kctx_len; in chcr_crypto_wreq() local 453 flits = calc_tx_sec_flits(skb, kctx_len); in chcr_crypto_wreq() 455 if (is_eth_imm(skb, kctx_len)) in chcr_crypto_wreq() [all …]
|
D | chcr_algo.h | 144 #define TRANSHDR_SIZE(kctx_len)\ argument 146 kctx_len) 147 #define CIPHER_TRANSHDR_SIZE(kctx_len, sge_pairs) \ argument 148 (TRANSHDR_SIZE((kctx_len)) + (sge_pairs) +\ 150 #define HASH_TRANSHDR_SIZE(kctx_len)\ argument 151 (TRANSHDR_SIZE(kctx_len) + DUMMY_BYTES) 282 unsigned int kctx_len; member
|
D | chcr_algo.c | 753 unsigned int kctx_len; in create_cipher_wr() local 761 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 762 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr() 812 phys_cpl = (struct cpl_rx_phys_dsgl *)((u8 *)(chcr_req + 1) + kctx_len); in create_cipher_wr() 818 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr() 1196 unsigned int dnents = 0, transhdr_len, phys_dsgl, kctx_len; in process_cipher() local 1201 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1202 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, phys_dsgl); in process_cipher() 1485 transhdr_len = HASH_TRANSHDR_SIZE(param->kctx_len); in create_hash_wr() 1527 ((param->kctx_len + in create_hash_wr() [all …]
|
D | chcr_core.h | 165 unsigned int kctx_len; member
|