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/ |
D | chcr_ktls.h | 54 u32 key_ctx_len; member
|
D | chcr_ktls.c | 161 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/ |
D | chcr_algo.c | 3553 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()
|