Home
last modified time | relevance | path

Searched refs:CEPH_GCM_KEY_LEN (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/ceph/
Dmessenger.h329 #define CEPH_GCM_KEY_LEN 16 macro
/linux-6.1.9/net/ceph/
Dmessenger_v2.c739 if (con_secret_len < CEPH_GCM_KEY_LEN + 2 * CEPH_GCM_IV_LEN) { in setup_crypto()
756 ret = crypto_aead_setkey(con->v2.gcm_tfm, con_secret, CEPH_GCM_KEY_LEN); in setup_crypto()
779 memcpy(&con->v2.in_gcm_nonce, con_secret + CEPH_GCM_KEY_LEN, in setup_crypto()
782 con_secret + CEPH_GCM_KEY_LEN + CEPH_GCM_IV_LEN, in setup_crypto()