mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 22:57:59 -05:00
chore(zk): rename verify_inner to verify_impl to match the proof
This commit is contained in:
committed by
Nicolas Sarlin
parent
2d224e75a1
commit
58f7457660
@@ -1929,11 +1929,11 @@ pub fn verify<G: Curve + Send + Sync>(
|
|||||||
) -> Result<(), ()> {
|
) -> Result<(), ()> {
|
||||||
// By running it in a limited thread pool, we make sure that the rayon overhead stays minimal
|
// By running it in a limited thread pool, we make sure that the rayon overhead stays minimal
|
||||||
// compared to the actual verification work
|
// compared to the actual verification work
|
||||||
run_in_pool(|| verify_inner(proof, public, metadata))
|
run_in_pool(|| verify_impl(proof, public, metadata))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::result_unit_err)]
|
#[allow(clippy::result_unit_err)]
|
||||||
pub fn verify_inner<G: Curve>(
|
pub fn verify_impl<G: Curve>(
|
||||||
proof: &Proof<G>,
|
proof: &Proof<G>,
|
||||||
public: (&PublicParams<G>, &PublicCommit<G>),
|
public: (&PublicParams<G>, &PublicCommit<G>),
|
||||||
metadata: &[u8],
|
metadata: &[u8],
|
||||||
|
|||||||
Reference in New Issue
Block a user