]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: simplify GCM key cache, IV layout, and endian encoding 67246/head
authorMatthew N. Heler <matthew.heler@hotmail.com>
Wed, 8 Apr 2026 11:42:53 +0000 (06:42 -0500)
committerMatthew N. Heler <matthew.heler@hotmail.com>
Wed, 20 May 2026 18:31:02 +0000 (13:31 -0500)
commit4ecaf8a4cd6314b611e1e9aad0e4d7c78756d954
tree8908c110083162abcdd258dd7c72c8763dfeadc0
parentfcdc01a1a03148b5450eab18c7a71e07d809ff15
rgw: simplify GCM key cache, IV layout, and endian encoding

Move the ISA-L GCM key cache to the heap with only a pointer in TLS.

Simplify the IV cursor to use hi=part_number, lo=chunk_index instead
of bit-packing both into a single field.

Replace manual byte-shifting in AAD encoding with boost::endian.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
src/crypto/isa-l/isal_crypto_accel.cc
src/rgw/rgw_crypt.cc