Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.h203 #define FILL_KEY_CTX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument
205 KEY_CONTEXT_CK_SIZE_V((ck_size)) | \
212 #define FILL_KEY_CRX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument
214 TLS_KEYCTX_RXCK_SIZE_V(ck_size) | \
Dchcr_algo.c856 int ck_size = 0; in chcr_keyctx_ck_size() local
859 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_keyctx_ck_size()
861 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_keyctx_ck_size()
863 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_keyctx_ck_size()
865 ck_size = 0; in chcr_keyctx_ck_size()
867 return ck_size; in chcr_keyctx_ck_size()
894 unsigned int ck_size, context_size; in chcr_aes_cbc_setkey() local
902 ck_size = chcr_keyctx_ck_size(keylen); in chcr_aes_cbc_setkey()
903 alignment = ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192 ? 8 : 0; in chcr_aes_cbc_setkey()
910 ablkctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, CHCR_KEYCTX_NO_KEY, in chcr_aes_cbc_setkey()
[all …]
Dchcr_ipsec.c137 int ck_size, key_ctx_size = 0; in chcr_ipsec_setkey() local
148 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chcr_ipsec_setkey()
150 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_192; in chcr_ipsec_setkey()
152 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_256; in chcr_ipsec_setkey()
165 sa_entry->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, in chcr_ipsec_setkey()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_hw.c216 int ck_size, key_ctx_size; in chtls_key_info() local
227 ck_size = CHCR_KEYCTX_CIPHER_KEY_SIZE_128; in chtls_key_info()
251 kctx->ctx_hdr = FILL_KEY_CRX_HDR(ck_size, in chtls_key_info()
256 kctx->ctx_hdr = FILL_KEY_CTX_HDR(ck_size, in chtls_key_info()