homenc / HElib

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
https://homenc.github.io/HElib
Other
3.11k stars 760 forks source link

AES GCM #395

Closed ma9o closed 3 years ago

ma9o commented 3 years ago

My use case for HElib only allows ciphers supported by TLS 1.3, of which GCM is the most popular. Would it be possible to homomorphically evaluate the AES circuit in CTR mode instead of ECB mode as shown in the samples? The authentication part of GCM can be applied afterwards on the output of the homomorphic function, once decrypted, as far I understand.