mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 14:47:56 -05:00
chore(zk): enable tfhe-lints on zk pok
This commit is contained in:
committed by
Nicolas Sarlin
parent
c475dc058e
commit
940a9ba860
3
Makefile
3
Makefile
@@ -514,6 +514,9 @@ check_rust_bindings_did_not_change:
|
||||
tfhe_lints: install_cargo_dylint
|
||||
RUSTFLAGS="$(RUSTFLAGS)" cargo dylint --all -p tfhe --no-deps -- \
|
||||
--features=boolean,shortint,integer,strings,zk-pok
|
||||
RUSTFLAGS="$(RUSTFLAGS)" cargo dylint --all -p tfhe-zk-pok --no-deps -- \
|
||||
--features=experimental
|
||||
|
||||
|
||||
.PHONY: build_core # Build core_crypto without experimental features
|
||||
build_core: install_rs_build_toolchain install_rs_check_toolchain
|
||||
|
||||
@@ -432,7 +432,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct PublicCommit<G: Curve> {
|
||||
a: Vec<i64>,
|
||||
b: Vec<i64>,
|
||||
|
||||
@@ -575,7 +575,7 @@ where
|
||||
}
|
||||
|
||||
/// This is the public part of the commitment.
|
||||
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct PublicCommit<G: Curve> {
|
||||
/// Mask of the public key
|
||||
a: Vec<i64>,
|
||||
|
||||
Reference in New Issue
Block a user