Home
last modified time | relevance | path

Searched refs:ck_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_common.h51 #define FILL_KEY_CTX_HDR(ck_size, mk_size, ctx_len) \ argument
53 KEY_CONTEXT_CK_SIZE_V(ck_size) | \
Dchcr_ktls.c74 int ck_size, key_ctx_size, mac_key_size, keylen, ghash_size, ret; in chcr_ktls_save_keys() local
86 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_ktls_save_keys()
150 kctx->ctx_hdr = FILL_KEY_CTX_HDR(ck_size, in chcr_ktls_save_keys()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.h170 #define FILL_KEY_CTX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument
172 KEY_CONTEXT_CK_SIZE_V((ck_size)) | \
179 #define FILL_KEY_CRX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument
181 TLS_KEYCTX_RXCK_SIZE_V(ck_size) | \
Dchcr_algo.c900 int ck_size = 0; in chcr_keyctx_ck_size() local
903 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_keyctx_ck_size()
905 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_keyctx_ck_size()
907 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_keyctx_ck_size()
909 ck_size = 0; in chcr_keyctx_ck_size()
911 return ck_size; in chcr_keyctx_ck_size()
931 unsigned int ck_size, context_size; in chcr_aes_cbc_setkey() local
939 ck_size = chcr_keyctx_ck_size(keylen); in chcr_aes_cbc_setkey()
940 alignment = ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192 ? 8 : 0; in chcr_aes_cbc_setkey()
947 ablkctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, CHCR_KEYCTX_NO_KEY, in chcr_aes_cbc_setkey()
[all …]
/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
277 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chtls_key_info()
290 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chtls_key_info()
317 kctx->ctx_hdr = FILL_KEY_CRX_HDR(ck_size, in chtls_key_info()
322 kctx->ctx_hdr = FILL_KEY_CTX_HDR(ck_size, 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
182 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in ch_ipsec_setkey()
184 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in ch_ipsec_setkey()
186 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in ch_ipsec_setkey()
199 sa_entry->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, in ch_ipsec_setkey()