Home
last modified time | relevance | path

Searched refs:ghash_h (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c257 unsigned char ghash_h[AEAD_H_SIZE]; in chtls_key_info() local
307 memset(ghash_h, 0, AEAD_H_SIZE); in chtls_key_info()
308 aes_encrypt(&aes, ghash_h, ghash_h); in chtls_key_info()
329 memcpy(kctx->key + keylen, ghash_h, AEAD_H_SIZE); in chtls_key_info()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c172 unsigned char ghash_h[AEAD_H_SIZE]; in ch_ipsec_setkey() local
212 memset(ghash_h, 0, AEAD_H_SIZE); in ch_ipsec_setkey()
213 aes_encrypt(&aes, ghash_h, ghash_h); in ch_ipsec_setkey()
217 16), ghash_h, AEAD_H_SIZE); in ch_ipsec_setkey()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_crypto.h215 u8 ghash_h[AEAD_H_SIZE]; member
Dchcr_algo.c3215 GCM_CTX(aeadctx)->ghash_h, AEAD_H_SIZE); in create_gcm_wr()
3536 memset(gctx->ghash_h, 0, AEAD_H_SIZE); in chcr_gcm_setkey()
3537 aes_encrypt(&aes, gctx->ghash_h, gctx->ghash_h); in chcr_gcm_setkey()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c75 unsigned char ghash_h[TLS_CIPHER_AES_GCM_256_TAG_SIZE]; in chcr_ktls_save_keys() local
144 memset(ghash_h, 0, ghash_size); in chcr_ktls_save_keys()
145 aes_encrypt(&aes_ctx, ghash_h, ghash_h); in chcr_ktls_save_keys()
160 memcpy(kctx->key + keylen, ghash_h, ghash_size); in chcr_ktls_save_keys()