/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 111 #define TRANSHDR_SIZE(kctx_len)\ 113 kctx_len) 114 #define CIPHER_TRANSHDR_SIZE(kctx_len, sge_pairs) \ 115 (TRANSHDR_SIZE((kctx_len)) + (sge_pairs) +\ 117 #define HASH_TRANSHDR_SIZE(kctx_len)\ 118 (TRANSHDR_SIZE(kctx_len) + DUMMY_BYTES) 249 unsigned int kctx_len; member
|
H A D | chcr_algo.c | 820 unsigned int kctx_len; in create_cipher_wr() local 830 kctx_len = roundup(ablkctx->enckey_len, 16); in create_cipher_wr() 831 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, dst_size); in create_cipher_wr() 881 phys_cpl = (struct cpl_rx_phys_dsgl *)((u8 *)(chcr_req + 1) + kctx_len); in create_cipher_wr() 887 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr() 1290 unsigned int dnents = 0, transhdr_len, phys_dsgl, kctx_len; in process_cipher() local 1295 kctx_len = roundup(ablkctx->enckey_len, 16); in process_cipher() 1296 transhdr_len = CIPHER_TRANSHDR_SIZE(kctx_len, phys_dsgl); in process_cipher() 1586 transhdr_len = HASH_TRANSHDR_SIZE(param->kctx_len); in create_hash_wr() 1629 ((param->kctx_len in create_hash_wr() 2454 unsigned int kctx_len = 0, dnents, snents; create_authenc_wr() local 3051 unsigned int dst_size = 0, kctx_len, dnents, temp, snents; create_aead_ccm_wr() local 3150 unsigned int dst_size = 0, temp = 0, kctx_len, assoclen = req->assoclen; create_gcm_wr() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 111 #define TRANSHDR_SIZE(kctx_len)\ 113 kctx_len) 114 #define CIPHER_TRANSHDR_SIZE(kctx_len, sge_pairs) \ 115 (TRANSHDR_SIZE((kctx_len)) + (sge_pairs) +\ 117 #define HASH_TRANSHDR_SIZE(kctx_len)\ 118 (TRANSHDR_SIZE(kctx_len) + DUMMY_BYTES) 249 unsigned int kctx_len; member
|
H A D | chcr_algo.c | 813 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() 2449 unsigned int kctx_len = 0, dnents, snents; create_authenc_wr() local 3046 unsigned int dst_size = 0, kctx_len, dnents, temp, snents; create_aead_ccm_wr() local 3145 unsigned int dst_size = 0, temp = 0, kctx_len, assoclen = req->assoclen; create_gcm_wr() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 220 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in ch_ipsec_setkey() 348 unsigned int kctx_len; in is_eth_imm() local 351 kctx_len = sa_entry->kctx_len; in is_eth_imm() 353 sizeof(struct chcr_ipsec_req) + kctx_len; in is_eth_imm() 368 unsigned int kctx_len; in calc_tx_sec_flits() local 373 kctx_len = sa_entry->kctx_len; in calc_tx_sec_flits() 401 kctx_len + in calc_tx_sec_flits() 521 key_len = sa_entry->kctx_len; in copy_key_cpltx_pktxt() 577 unsigned int kctx_len = sa_entry->kctx_len; ch_ipsec_crypto_wreq() local [all...] |
H A D | chcr_ipsec.h | 50 unsigned int kctx_len; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 219 sa_entry->kctx_len = ((DIV_ROUND_UP(sa_entry->enckey_len, 16)) << 4) + in ch_ipsec_setkey() 352 unsigned int kctx_len; in is_eth_imm() local 355 kctx_len = sa_entry->kctx_len; in is_eth_imm() 357 sizeof(struct chcr_ipsec_req) + kctx_len; in is_eth_imm() 372 unsigned int kctx_len; in calc_tx_sec_flits() local 377 kctx_len = sa_entry->kctx_len; in calc_tx_sec_flits() 405 kctx_len + in calc_tx_sec_flits() 525 key_len = sa_entry->kctx_len; in copy_key_cpltx_pktxt() 581 unsigned int kctx_len = sa_entry->kctx_len; ch_ipsec_crypto_wreq() local [all...] |
H A D | chcr_ipsec.h | 50 unsigned int kctx_len; member
|