Skip to content

Commit c73afc8

Browse files
committed
chore: add license to pvss circuits
1 parent 4112fe1 commit c73afc8

52 files changed

Lines changed: 312 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

circuits/bin/aggregation/fold/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use bb_proof_verification::{UltraHonkProof, UltraHonkVerificationKey, verify_honk_proof_non_zk};
28
use lib::math::commitments::compute_aggregation_commitment;
39

circuits/bin/aggregation/insecure/verify_shares_trbfv_wrapper/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use bb_proof_verification::{UltraHonkProof, UltraHonkVerificationKey, verify_honk_proof_non_zk};
28
use lib::math::commitments::compute_aggregation_commitment;
39

circuits/bin/aggregation/pk_trbfv_wrapper/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use bb_proof_verification::{UltraHonkProof, UltraHonkVerificationKey, verify_honk_proof_non_zk};
28
use lib::math::commitments::compute_aggregation_commitment;
39

circuits/bin/aggregation/production/verify_shares_trbfv_wrapper/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use bb_proof_verification::{UltraHonkProof, UltraHonkVerificationKey, verify_honk_proof_non_zk};
28
use lib::math::commitments::compute_aggregation_commitment;
39

circuits/bin/insecure/dec_bfv_e_sm/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use lib::configs::insecure::bfv::{DEC_BFV_BIT_MSG_E_SM, L_TRBFV, N};
28
use lib::core::bfv_dec::BfvDecCommitVerify;
39
use lib::math::polynomial::Polynomial;

circuits/bin/insecure/dec_bfv_sk/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use lib::configs::insecure::bfv::{DEC_BFV_BIT_MSG_SK, L_TRBFV, N};
28
use lib::core::bfv_dec::BfvDecCommitVerify;
39
use lib::math::polynomial::Polynomial;

circuits/bin/insecure/dec_share_agg_trbfv/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use lib::configs::insecure::trbfv::{DEC_SHARES_AGG_BIT_NOISE, DEC_SHARES_AGG_CONFIGS, L};
28
use lib::core::trbfv_dec_shares_agg::DecryptionSharesAggregation;
39
use lib::math::polynomial::Polynomial;

circuits/bin/insecure/dec_share_trbfv/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use lib::configs::insecure::trbfv::{
28
DEC_SHARES_BIT_CT, DEC_SHARES_BIT_D, DEC_SHARES_BIT_E, DEC_SHARES_BIT_R1, DEC_SHARES_BIT_R2,
39
DEC_SHARES_BIT_S, DEC_SHARES_CONFIGS, L, N,

circuits/bin/insecure/enc_bfv_e_sm/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use lib::configs::insecure::bfv::{
28
ENC_BFV_BIT_CT, ENC_BFV_BIT_E0, ENC_BFV_BIT_E1, ENC_BFV_BIT_MSG, ENC_BFV_BIT_P1, ENC_BFV_BIT_P2,
39
ENC_BFV_BIT_PK, ENC_BFV_BIT_R1, ENC_BFV_BIT_R2, ENC_BFV_BIT_U, ENC_BFV_CONFIGS_E_SM, L, N,

circuits/bin/insecure/enc_bfv_sk/src/main.nr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-3.0-only
2+
//
3+
// This file is provided WITHOUT ANY WARRANTY;
4+
// without even the implied warranty of MERCHANTABILITY
5+
// or FITNESS FOR A PARTICULAR PURPOSE.
6+
17
use lib::configs::insecure::bfv::{
28
ENC_BFV_BIT_CT, ENC_BFV_BIT_E0, ENC_BFV_BIT_E1, ENC_BFV_BIT_MSG, ENC_BFV_BIT_P1, ENC_BFV_BIT_P2,
39
ENC_BFV_BIT_PK, ENC_BFV_BIT_R1, ENC_BFV_BIT_R2, ENC_BFV_BIT_U, ENC_BFV_CONFIGS_SK, L, N,

0 commit comments

Comments
 (0)