Home
last modified time | relevance | path

Searched refs:key_ctx_len (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.h54 u32 key_ctx_len; member
Dchcr_ktls.c161 tx_info->key_ctx_len = key_ctx_size; in chcr_ktls_save_keys()
939 chcr_ktls_get_tx_flits(u32 nr_frags, unsigned int key_ctx_len) in chcr_ktls_get_tx_flits() argument
942 DIV_ROUND_UP(key_ctx_len + CHCR_KTLS_WR_SIZE, 8); in chcr_ktls_get_tx_flits()
1120 flits = chcr_ktls_get_tx_flits(nfrags, tx_info->key_ctx_len); in chcr_ktls_xmit_wr_complete()
1175 idata->len = htonl(sizeof(*cpl) + tx_info->key_ctx_len + in chcr_ktls_xmit_wr_complete()
1215 tx_info->key_ctx_len); in chcr_ktls_xmit_wr_complete()
1300 flits = chcr_ktls_get_tx_flits(nfrags, tx_info->key_ctx_len) + 2; in chcr_ktls_xmit_wr_short()
1357 idata->len = htonl(sizeof(*cpl) + tx_info->key_ctx_len + in chcr_ktls_xmit_wr_short()
1391 tx_info->key_ctx_len); in chcr_ktls_xmit_wr_short()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c3553 int err = 0, i, key_ctx_len = 0; in chcr_authenc_setkey() local
3653 key_ctx_len = sizeof(struct _key_ctx) + in chcr_authenc_setkey()
3657 0, 1, key_ctx_len >> 4); in chcr_authenc_setkey()
3681 int key_ctx_len = 0; in chcr_aead_digest_null_setkey() local
3720 key_ctx_len = sizeof(struct _key_ctx) + roundup(keys.enckeylen, 16); in chcr_aead_digest_null_setkey()
3723 0, key_ctx_len >> 4); in chcr_aead_digest_null_setkey()