Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/chelsio/
H A 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
H A Dchcr_algo.c813 unsigned int kctx_len; in create_cipher_wr() local
1623 ((param->kctx_len + in create_hash_wr()
1791 params.kctx_len *= 2; in chcr_ahash_final()
1867 params.kctx_len *= 2; in chcr_ahash_finup()
1877 params.kctx_len /= 2; in chcr_ahash_finup()
1964 params.kctx_len *= 2; in chcr_ahash_digest()
1970 HASH_SPACE_LEFT(params.kctx_len), 0); in chcr_ahash_digest()
1973 params.kctx_len /= 2; in chcr_ahash_digest()
2039 params.kctx_len *= 2; in chcr_ahash_continue()
2045 HASH_SPACE_LEFT(params.kctx_len), in chcr_ahash_continue()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c219 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; in ch_ipsec_crypto_wreq() local
622 kctx_len + in ch_ipsec_crypto_wreq()
H A Dchcr_ipsec.h50 unsigned int kctx_len; member