Home
last modified time | relevance | path

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

/linux/drivers/crypto/chelsio/
A 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) | \
A Dchcr_algo.c900 int ck_size = 0; in chcr_keyctx_ck_size() local
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()
962 unsigned int ck_size, context_size; in chcr_aes_ctr_setkey() local
992 unsigned int ck_size, context_size; in chcr_aes_rfc3686_setkey() local
3424 unsigned char ck_size, mk_size; in chcr_ccm_common_setkey() local
3491 unsigned int ck_size; in chcr_gcm_setkey() local
3554 unsigned char ck_size = 0; in chcr_authenc_setkey() local
[all …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_common.h51 #define FILL_KEY_CTX_HDR(ck_size, mk_size, ctx_len) \ argument
53 KEY_CONTEXT_CK_SIZE_V(ck_size) | \
A 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/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A 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/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
A 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()

Completed in 21 milliseconds