Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c258 int ck_size, key_ctx_size, kctx_mackey_size, salt_size; in chtls_key_info() local
262 key_ctx_size = sizeof(struct _key_ctx) + in chtls_key_info()
310 csk->tlshws.keylen = key_ctx_size; in chtls_key_info()
316 key_ctx = ((key_ctx_size >> 4) << 3); in chtls_key_info()
324 0, 0, key_ctx_size >> 4); in chtls_key_info()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c171 int ck_size, key_ctx_size = 0; in ch_ipsec_setkey() local
195 key_ctx_size = sizeof(struct _key_ctx) + in ch_ipsec_setkey()
202 key_ctx_size >> 4); in ch_ipsec_setkey()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c74 int ck_size, key_ctx_size, mac_key_size, keylen, ghash_size, ret; in chcr_ktls_save_keys() local
134 key_ctx_size = CHCR_KTLS_KEY_CTX_LEN + in chcr_ktls_save_keys()
152 key_ctx_size >> 4); in chcr_ktls_save_keys()
161 tx_info->key_ctx_len = key_ctx_size; in chcr_ktls_save_keys()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c3425 int key_ctx_size = 0; in chcr_ccm_common_setkey() local
3427 key_ctx_size = sizeof(struct _key_ctx) + roundup(keylen, 16) * 2; in chcr_ccm_common_setkey()
3442 key_ctx_size >> 4); in chcr_ccm_common_setkey()
3492 int ret = 0, key_ctx_size = 0; in chcr_gcm_setkey() local
3522 key_ctx_size = sizeof(struct _key_ctx) + roundup(keylen, 16) + in chcr_gcm_setkey()
3527 key_ctx_size >> 4); in chcr_gcm_setkey()