Bicyclic Matrix-Matrix Multiplication in Fully Homomorphic Encryption
In an earlier article, I covered the basic technique for performing matrix-vector multiplication in fully homomorphic encryption (FHE), known as the Halevi-Shoup diagonal method. This article covers a more recent method for matrix-matrix multiplication known as the bicyclic method.
The code implementing this method is in the same GitHub repository as the previous article, and the bicyclic method is in a file called bicyclic.py.
The previous article linked above covers the general concepts behind “FHE packing,” which I will assume as background knowledge for this article: