Skip to content

Commit

Permalink
use parallel-containers
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Oct 4, 2024
1 parent b0c81f8 commit d3aae4c
Show file tree
Hide file tree
Showing 167 changed files with 535 additions and 535 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <iostream>
#include <iterator>

#include <nil/crypto3/container/sparse_vector.hpp>
#include <nil/parallel-crypto3/container/sparse_vector.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <boost/variant.hpp>

#include <nil/crypto3/hash/type_traits.hpp>
#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include <nil/crypto3/hash/type_traits.hpp>
#include <nil/crypto3/hash/algorithm/hash.hpp>
#include <nil/crypto3/container/merkle/node.hpp>
#include <nil/parallel-crypto3/container/merkle/node.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef CRYPTO3_BACS_EXAMPLES_HPP
#define CRYPTO3_BACS_EXAMPLES_HPP

#include <nil/crypto3/zk/snark/arithmetization/circuit_satisfaction_problems/bacs.hpp>
#include <nil/parallel-crypto3/zk/snark/arithmetization/circuit_satisfaction_problems/bacs.hpp>

#include <nil/crypto3/algebra/random_element.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef CRYPTO3_ZK_TBCS_EXAMPLES_HPP
#define CRYPTO3_ZK_ED25519SIG_HPP

#include <nil/crypto3/zk/snark/arithmetization/circuit_satisfaction_problems/tbcs.hpp>
#include <nil/parallel-crypto3/zk/snark/arithmetization/circuit_satisfaction_problems/tbcs.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef CRYPTO3_R1CS_EXAMPLES_HPP
#define CRYPTO3_R1CS_EXAMPLES_HPP

#include <nil/crypto3/zk/snark/arithmetization/constraint_satisfaction_problems/r1cs.hpp>
#include <nil/parallel-crypto3/zk/snark/arithmetization/constraint_satisfaction_problems/r1cs.hpp>

#include <nil/crypto3/algebra/random_element.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef CRYPTO3_USCS_EXAMPLES_HPP
#define CRYPTO3_USCS_EXAMPLES_HPP

#include <nil/crypto3/zk/snark/arithmetization/constraint_satisfaction_problems/uscs.hpp>
#include <nil/parallel-crypto3/zk/snark/arithmetization/constraint_satisfaction_problems/uscs.hpp>

#include <nil/crypto3/algebra/random_element.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/parallel-crypto3/math/polynomial/lagrange_interpolation.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/crypto3/zk/commitments/type_traits.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/eval_storage.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/commitments/type_traits.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/eval_storage.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/crypto3/container/merkle/proof.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/proof.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/crypto3/container/merkle/proof.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/proof.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/calculate_domain_set.hpp>

#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/crypto3/container/merkle/proof.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/proof.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>

#include <nil/crypto3/zk/commitments/type_traits.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/fold_polynomial.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/proof_of_work.hpp>
#include <nil/crypto3/zk/detail/field_element_consumer.hpp>
#include <nil/parallel-crypto3/zk/commitments/type_traits.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/fold_polynomial.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/proof_of_work.hpp>
#include <nil/parallel-crypto3/zk/detail/field_element_consumer.hpp>

#include <nil/crypto3/bench/scoped_profiler.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#ifndef CRYPTO3_ZK_PLACEHOLDER_EVAL_STORAGE_HPP
#define CRYPTO3_ZK_PLACEHOLDER_EVAL_STORAGE_HPP

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/crypto3/zk/commitments/type_traits.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/commitments/type_traits.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/crypto3/container/merkle/proof.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/proof.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <vector>

#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/private_key.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/private_key.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef CRYPTO3_ZK_POWERS_OF_TAU_PUBLIC_KEY_HPP
#define CRYPTO3_ZK_POWERS_OF_TAU_PUBLIC_KEY_HPP

#include <nil/crypto3/zk/commitments/detail/polynomial/element_proof_of_knowledge.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/element_proof_of_knowledge.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <vector>

#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/accumulator.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/accumulator.hpp>

#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include <nil/crypto3/random/algebraic_engine.hpp>
#include <nil/crypto3/marshalling/algebra/types/field_element.hpp>
#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

#include <vector>

#include <nil/crypto3/zk/snark/reductions/r1cs_to_qap.hpp>
#include <nil/crypto3/container/accumulation_vector.hpp>
#include <nil/crypto3/zk/commitments/polynomial/knowledge_commitment.hpp>
#include <nil/crypto3/zk/snark/systems/ppzksnark/r1cs_gg_ppzksnark.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/result.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/private_key.hpp>
#include <nil/parallel-crypto3/zk/snark/reductions/r1cs_to_qap.hpp>
#include <nil/parallel-crypto3/container/accumulation_vector.hpp>
#include <nil/parallel-crypto3/zk/commitments/polynomial/knowledge_commitment.hpp>
#include <nil/parallel-crypto3/zk/snark/systems/ppzksnark/r1cs_gg_ppzksnark.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/result.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/private_key.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef CRYPTO3_ZK_R1CS_GG_PPZKSNARK_MPC_PUBLIC_KEY_HPP
#define CRYPTO3_ZK_R1CS_GG_PPZKSNARK_MPC_PUBLIC_KEY_HPP

#include <nil/crypto3/zk/commitments/detail/polynomial/element_proof_of_knowledge.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/element_proof_of_knowledge.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <boost/accumulators/framework/depends_on.hpp>
#include <boost/accumulators/framework/parameters/sample.hpp>

#include <nil/crypto3/zk/snark/accumulators/parameters/offset.hpp>
#include <nil/parallel-crypto3/zk/snark/accumulators/parameters/offset.hpp>

#include <nil/crypto3/algebra/multiexp/multiexp.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/crypto3/container/merkle/proof.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/proof.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
#include <nil/crypto3/algebra/multiexp/policies.hpp>
#include <nil/crypto3/algebra/multiexp/inner_product.hpp>

#include <nil/crypto3/zk/transcript/kimchi_transcript.hpp>
#include <nil/crypto3/zk/snark/systems/plonk/pickles/detail/mapping.hpp>
#include <nil/crypto3/zk/snark/systems/plonk/pickles/detail/kimchi_functions.hpp>
#include <nil/parallel-crypto3/zk/transcript/kimchi_transcript.hpp>
#include <nil/parallel-crypto3/zk/snark/systems/plonk/pickles/detail/mapping.hpp>
#include <nil/parallel-crypto3/zk/snark/systems/plonk/pickles/detail/kimchi_functions.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#ifndef CRYPTO3_ZK_KNOWLEDGE_COMMITMENT_HPP
#define CRYPTO3_ZK_KNOWLEDGE_COMMITMENT_HPP

#include <nil/crypto3/container/sparse_vector.hpp>
#include <nil/parallel-crypto3/container/sparse_vector.hpp>

#include <nil/crypto3/zk/commitments/detail/polynomial/element_knowledge_commitment.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/element_knowledge_commitment.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include <nil/crypto3/algebra/multiexp/multiexp.hpp>

#include <nil/crypto3/zk/commitments/polynomial/knowledge_commitment.hpp>
#include <nil/parallel-crypto3/zk/commitments/polynomial/knowledge_commitment.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@

#include <nil/crypto3/marshalling/algebra/types/curve_element.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

#include <nil/crypto3/zk/commitments/batched_commitment.hpp>
#include <nil/parallel-crypto3/zk/commitments/batched_commitment.hpp>

using namespace nil::crypto3::math;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@

#include <nil/crypto3/marshalling/algebra/types/curve_element.hpp>

#include <nil/crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/zk/transcript/fiat_shamir.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

#include <nil/crypto3/zk/commitments/batched_commitment.hpp>
#include <nil/crypto3/zk/detail/field_element_consumer.hpp>
#include <nil/parallel-crypto3/zk/commitments/batched_commitment.hpp>
#include <nil/parallel-crypto3/zk/detail/field_element_consumer.hpp>

using namespace nil::crypto3::math;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/lagrange_interpolation.hpp>

#include <nil/crypto3/container/merkle/tree.hpp>
#include <nil/crypto3/container/merkle/proof.hpp>
#include <nil/parallel-crypto3/container/merkle/tree.hpp>
#include <nil/parallel-crypto3/container/merkle/proof.hpp>

#include <nil/crypto3/zk/commitments/batched_commitment.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>
#include <nil/parallel-crypto3/zk/commitments/batched_commitment.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/basic_fri.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#ifndef CRYPTO3_ZK_POWERS_OF_TAU_HPP
#define CRYPTO3_ZK_POWERS_OF_TAU_HPP

#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/private_key.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/public_key.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/accumulator.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/result.hpp>
#include <nil/crypto3/zk/commitments/polynomial/proof_of_knowledge.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/vector_pairs.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/private_key.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/public_key.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/accumulator.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/result.hpp>
#include <nil/parallel-crypto3/zk/commitments/polynomial/proof_of_knowledge.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/vector_pairs.hpp>

#include <nil/crypto3/algebra/random_element.hpp>
#include <nil/crypto3/algebra/algorithms/pair.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef CRYPTO3_ZK_PROOF_OF_KNOWLEDGE_HPP
#define CRYPTO3_ZK_PROOF_OF_KNOWLEDGE_HPP

#include <nil/crypto3/zk/commitments/detail/polynomial/element_proof_of_knowledge.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/element_proof_of_knowledge.hpp>

#include <nil/crypto3/algebra/random_element.hpp>
#include <nil/crypto3/algebra/algorithms/pair.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
#ifndef CRYPTO3_ZK_R1CS_GG_PPZKSNARK_MPC_HPP
#define CRYPTO3_ZK_R1CS_GG_PPZKSNARK_MPC_HPP

#include <nil/crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/private_key.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/public_key.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/powers_of_tau/result.hpp>
#include <nil/crypto3/zk/commitments/polynomial/knowledge_commitment.hpp>
#include <nil/crypto3/zk/commitments/polynomial/proof_of_knowledge.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/vector_pairs.hpp>
#include <nil/crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/crs_operations.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/private_key.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/public_key.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/result.hpp>
#include <nil/parallel-crypto3/zk/commitments/polynomial/knowledge_commitment.hpp>
#include <nil/parallel-crypto3/zk/commitments/polynomial/proof_of_knowledge.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/vector_pairs.hpp>
#include <nil/parallel-crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/crs_operations.hpp>

#include <nil/crypto3/algebra/random_element.hpp>
#include <nil/crypto3/algebra/algorithms/pair.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <boost/functional/hash.hpp>
#include <boost/variant.hpp>
#include <boost/variant/recursive_wrapper.hpp>
#include <nil/crypto3/zk/snark/arithmetization/plonk/variable.hpp>
#include <nil/parallel-crypto3/zk/snark/arithmetization/plonk/variable.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <unordered_map>
#include <boost/variant/static_visitor.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <nil/crypto3/zk/math/expression.hpp>
#include <nil/parallel-crypto3/zk/math/expression.hpp>

#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>
Expand Down
Loading

0 comments on commit d3aae4c

Please sign in to comment.