Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.h54 u32 key_ctx_len; member
Dchcr_ktls.c164 tx_info->key_ctx_len = key_ctx_size; in chcr_ktls_save_keys()
931 chcr_ktls_get_tx_flits(u32 nr_frags, unsigned int key_ctx_len) in chcr_ktls_get_tx_flits() argument
934 DIV_ROUND_UP(key_ctx_len + CHCR_KTLS_WR_SIZE, 8); in chcr_ktls_get_tx_flits()
1112 flits = chcr_ktls_get_tx_flits(nfrags, tx_info->key_ctx_len); in chcr_ktls_xmit_wr_complete()
1167 idata->len = htonl(sizeof(*cpl) + tx_info->key_ctx_len + in chcr_ktls_xmit_wr_complete()
1207 tx_info->key_ctx_len); in chcr_ktls_xmit_wr_complete()
1292 flits = chcr_ktls_get_tx_flits(nfrags, tx_info->key_ctx_len) + 2; in chcr_ktls_xmit_wr_short()
1349 idata->len = htonl(sizeof(*cpl) + tx_info->key_ctx_len + in chcr_ktls_xmit_wr_short()
1383 tx_info->key_ctx_len); in chcr_ktls_xmit_wr_short()
/Linux-v5.10/drivers/crypto/chelsio/
Dchcr_algo.c3544 int err = 0, i, key_ctx_len = 0; in chcr_authenc_setkey() local
3644 key_ctx_len = sizeof(struct _key_ctx) + in chcr_authenc_setkey()
3648 0, 1, key_ctx_len >> 4); in chcr_authenc_setkey()
3672 int key_ctx_len = 0; in chcr_aead_digest_null_setkey() local
3711 key_ctx_len = sizeof(struct _key_ctx) + roundup(keys.enckeylen, 16); in chcr_aead_digest_null_setkey()
3714 0, key_ctx_len >> 4); in chcr_aead_digest_null_setkey()