diff --git a/src/ipe_filter.cpp b/src/ipe_filter.cpp index 577de8f..9bbdd14 100644 --- a/src/ipe_filter.cpp +++ b/src/ipe_filter.cpp @@ -34,7 +34,7 @@ G1Vec IpeFilter::enc(const IpeFilterPP& pp, const IpeFilterMsk& msk, const Vec& // Create the x vector in Fp. FpVec x_vec; - // Compute the hash of value to join and remove the join value from x copy. + // Convert the input x vector to Fp. std::visit([&pp, &x_vec](auto&& input_x){ using T = std::decay_t; if constexpr (std::is_same_v || std::is_same_v){ @@ -66,10 +66,10 @@ G1Vec IpeFilter::enc(const IpeFilterPP& pp, const IpeFilterMsk& msk, const Vec& } G2Vec IpeFilter::keygen(const IpeFilterPP& pp, const IpeFilterMsk& msk, const Mat& y){ - // Create the x vector in Fp. + // Create the y matrix in Fp. FpMat y_mat; - // Compute the hash of value to join and remove the join value from x copy. + // Convert the input y matrix to Fp. std::visit([&pp, &y_mat](auto&& input_y){ using T = std::decay_t; if constexpr (std::is_same_v || std::is_same_v){