Name: openfhe-development Version: 0.0.git.774.156043b3 Release: 1%{?dist} Summary: OpenFHE - Open-Source Fully Homomorphic Encryption Library License: BSD 2-Clause License URL: https://openfhe-development.readthedocs.io VCS: git+https://github.com/rjrelyea/openfhe-development.git#156043b33b53af544e912015061355f42ceb0549: Source: openfhe-development-156043b3.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: make BuildRequires: ntl-devel BuildRequires: gmp-devel Requires: ntl Requires: gmp %description Fully Homomorphic Encryption (FHE) is a powerful cryptographic primitive that enables performing computations over encrypted data without having access to the secret key. OpenFHE is an open-source FHE library that includes efficient implementations of all common FHE schemes: Brakerski/Fan-Vercauteren (BFV) scheme for integer arithmetic Brakerski-Gentry-Vaikuntanathan (BGV) scheme for integer arithmetic Cheon-Kim-Kim-Song (CKKS) scheme for real-number arithmetic (includes approximate bootstrapping) Ducas-Micciancio (DM/FHEW), Chillotti-Gama-Georgieva-Izabachene (CGGI/TFHE), and Lee-Micciancio-Kim-Choi-Deryabin-Eom-Yoo (LMKCDEY) schemes for evaluating Boolean circuits and arbitrary functions over larger plaintext spaces using lookup tables OpenFHE also supports hybrid vectorized schemes, with the goal of enabling the FHEW/TFHE-like functional bootstrapping capability for schemes such as CKKS and BFV. In particular, OpenFHE supports Switching between CKKS and FHEW/TFHE to evaluate non-smooth functions, e.g., comparison, using (scalar) FHEW/TFHE functional bootstrapping Switching between RLWE (a scheme equivalent to the coefficient-encoded additive BFV scheme) and CKKS to evaluate arbitrary lookup tables over vectors of integers, e.g., modular reduction, comparison or S-box, using vectorized functional bootstrapping implemented in CKKS OpenFHE also supports partial schemes, called schemelets, such as RLWE which is equivalent to the coefficient-encoded additive BFV scheme. In OpenFHE, the RLWE schemelet is the starting point for the vectorized functional bootstrapping capability, which allows the evaluation of arbitrary lookup tables over vectors of integers, e.g., modular reduction, comparison or Sbox, using CKKS in an intermediate step. OpenFHE also includes the following multiparty extensions of FHE: Threshold FHE for BGV, BFV, and CKKS schemes Interactive bootstrapping for Threshold CKKS Proxy Re-Encryption for BGV, BFV, and CKKS schemes OpenFHE supports any GNU C++ compiler version 9 or above and clang C++ compiler version 10 or above. To achieve the best runtime performance, we recommend following the guidelines outlined in building OpenFHE for best performance. %prep %setup -T -b 0 -q -n openfhe-development %build mkdir build pushd build cmake -DCMAKE_INSTALL_PREFIX=$RPM_BUILD_ROOT .. make popd %install pushd build make install popd # sigh, the openfhe-devel cmake files hard-code 'lib', if wer aren't installing # in lib, mv the lib directory there. if [ ! -d $RPM_BUILD_ROOT/%{_libdir} ]; then mv $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/%{_libdir} fi %files %{_libdir}/libOPENFHEbinfhe.so %{_libdir}/libOPENFHEcore.so %{_libdir}/libOPENFHEpke.so %{_libdir}/libOPENFHEbinfhe.so.1 %{_libdir}/libOPENFHEcore.so.1 %{_libdir}/libOPENFHEpke.so.1 %{_libdir}/libOPENFHEbinfhe.so.%{version} %{_libdir}/libOPENFHEcore.so.%{version} %{_libdir}/libOPENFHEpke.so.%{version} %{_libdir}/OpenFHE %{_includedir}/openfhe/* %check pushd build make clean popd %changelog * Tue May 12 2026 Bob Relyea - 0.0.0-0 - initial import from openfhe-devel gitlib #EOF