├── .dockerignore ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitlab-ci.yml ├── CMakeLists.txt ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── docker ├── Dockerfile.24.04 └── run_tests.sh ├── include ├── blockchain │ └── mpc │ │ └── hd_derive.h ├── cosigner │ ├── asymmetric_eddsa_cosigner.h │ ├── asymmetric_eddsa_cosigner_client.h │ ├── asymmetric_eddsa_cosigner_server.h │ ├── cmp_ecdsa_offline_signing_service.h │ ├── cmp_ecdsa_online_signing_service.h │ ├── cmp_ecdsa_signing_service.h │ ├── cmp_key_persistency.h │ ├── cmp_offline_refresh_service.h │ ├── cmp_setup_service.h │ ├── cmp_signature_preprocessed_data.h │ ├── cosigner_exception.h │ ├── eddsa_online_signing_service.h │ ├── key_persistency_base.h │ ├── mpc_globals.h │ ├── platform_service.h │ ├── prf.h │ ├── sign_algorithm.h │ ├── timing_map.h │ └── types.h ├── crypto │ ├── GFp_curve_algebra │ │ └── GFp_curve_algebra.h │ ├── commitments │ │ ├── commitments.h │ │ ├── damgard_fujisaki.h │ │ ├── pedersen.h │ │ └── ring_pedersen.h │ ├── common │ │ └── byteswap.h │ ├── drng │ │ └── drng.h │ ├── ed25519_algebra │ │ └── ed25519_algebra.h │ ├── elliptic_curve_algebra │ │ ├── elliptic_curve256_algebra.h │ │ └── elliptic_curve_algebra_status.h │ ├── keccak1600 │ │ └── keccak1600.h │ ├── paillier │ │ └── paillier.h │ ├── paillier_commitment │ │ └── paillier_commitment.h │ ├── shamir_secret_sharing │ │ └── verifiable_secret_sharing.h │ └── zero_knowledge_proof │ │ ├── diffie_hellman_log.h │ │ ├── range_proofs.h │ │ ├── schnorr.h │ │ └── zero_knowledge_proof_status.h ├── logging │ └── logging_t.h └── tests │ └── catch.hpp ├── src └── common │ ├── CMakeLists.txt │ ├── blockchain │ └── mpc │ │ └── hd_derive.cpp │ ├── cosigner │ ├── asymmetric_eddsa_cosigner.cpp │ ├── asymmetric_eddsa_cosigner_client.cpp │ ├── asymmetric_eddsa_cosigner_server.cpp │ ├── cmp_ecdsa_offline_signing_service.cpp │ ├── cmp_ecdsa_online_signing_service.cpp │ ├── cmp_ecdsa_signing_service.cpp │ ├── cmp_key_persistency.cpp │ ├── cmp_offline_refresh_service.cpp │ ├── cmp_setup_service.cpp │ ├── cosigner_exception.cpp │ ├── eddsa_online_signing_service.cpp │ ├── mta.cpp │ ├── mta.h │ ├── platform_service.cpp │ ├── timing_map.cpp │ ├── utils.cpp │ └── utils.h │ ├── crypto │ ├── GFp_curve_algebra │ │ └── GFp_curve_algebra.c │ ├── algebra_utils │ │ ├── algebra_utils.c │ │ ├── algebra_utils.h │ │ ├── status_convert.c │ │ └── status_convert.h │ ├── commitments │ │ ├── commitments.c │ │ ├── damgard_fujisaki.c │ │ ├── damgard_fujisaki_internal.h │ │ ├── pedersen.c │ │ ├── ring_pedersen.c │ │ └── ring_pedersen_internal.h │ ├── drng │ │ └── drng.c │ ├── ed25519_algebra │ │ ├── curve25519.c │ │ ├── ec_lcl.h │ │ └── ed25519_algebra.c │ ├── keccak1600 │ │ └── keccak1600.c │ ├── paillier │ │ ├── alpha.h │ │ ├── paillier.c │ │ ├── paillier_internal.h │ │ └── paillier_zkp.c │ ├── paillier_commitment │ │ ├── paillier_commitment.c │ │ └── paillier_commitment_internal.h │ ├── shamir_secret_sharing │ │ └── verifiable_secret_sharing.c │ └── zero_knowledge_proof │ │ ├── damgard_fujisaki_zkp.c │ │ ├── diffie_hellman_log.c │ │ ├── range_proofs.c │ │ ├── schnorr.c │ │ └── zkp_constants_internal.h │ └── logging │ └── logging_t.c └── test ├── CMakeLists.txt ├── cosigner ├── CMakeLists.txt ├── cmake │ └── FindUUID.cmake ├── ecdsa_offline_test.cpp ├── ecdsa_online_test.cpp ├── eddsa_offline_test.cpp ├── eddsa_online_test.cpp ├── setup_test.cpp └── test_common.h ├── crypto ├── algebra_utils │ ├── CMakeLists.txt │ └── tests.cpp ├── drng │ ├── CMakeLists.txt │ └── tests.cpp ├── ed25519_algebra │ ├── CMakeLists.txt │ └── tests.cpp ├── paillier │ ├── CMakeLists.txt │ └── tests.cpp ├── paillier_commitment │ ├── CMakeLists.txt │ └── tests.cpp ├── pedersen_commitment │ ├── CMakeLists.txt │ └── tests.cpp ├── secp256k1_algebra │ ├── CMakeLists.txt │ └── tests.cpp ├── shamir_secret_sharing │ ├── CMakeLists.txt │ └── tests.cpp └── zero_knowledge_proof │ ├── CMakeLists.txt │ └── tests.cpp └── tests_main.cpp /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/SECURITY.md -------------------------------------------------------------------------------- /docker/Dockerfile.24.04: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/docker/Dockerfile.24.04 -------------------------------------------------------------------------------- /docker/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/docker/run_tests.sh -------------------------------------------------------------------------------- /include/blockchain/mpc/hd_derive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/blockchain/mpc/hd_derive.h -------------------------------------------------------------------------------- /include/cosigner/asymmetric_eddsa_cosigner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/asymmetric_eddsa_cosigner.h -------------------------------------------------------------------------------- /include/cosigner/asymmetric_eddsa_cosigner_client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/asymmetric_eddsa_cosigner_client.h -------------------------------------------------------------------------------- /include/cosigner/asymmetric_eddsa_cosigner_server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/asymmetric_eddsa_cosigner_server.h -------------------------------------------------------------------------------- /include/cosigner/cmp_ecdsa_offline_signing_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_ecdsa_offline_signing_service.h -------------------------------------------------------------------------------- /include/cosigner/cmp_ecdsa_online_signing_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_ecdsa_online_signing_service.h -------------------------------------------------------------------------------- /include/cosigner/cmp_ecdsa_signing_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_ecdsa_signing_service.h -------------------------------------------------------------------------------- /include/cosigner/cmp_key_persistency.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_key_persistency.h -------------------------------------------------------------------------------- /include/cosigner/cmp_offline_refresh_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_offline_refresh_service.h -------------------------------------------------------------------------------- /include/cosigner/cmp_setup_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_setup_service.h -------------------------------------------------------------------------------- /include/cosigner/cmp_signature_preprocessed_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cmp_signature_preprocessed_data.h -------------------------------------------------------------------------------- /include/cosigner/cosigner_exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/cosigner_exception.h -------------------------------------------------------------------------------- /include/cosigner/eddsa_online_signing_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/eddsa_online_signing_service.h -------------------------------------------------------------------------------- /include/cosigner/key_persistency_base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/key_persistency_base.h -------------------------------------------------------------------------------- /include/cosigner/mpc_globals.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/mpc_globals.h -------------------------------------------------------------------------------- /include/cosigner/platform_service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/platform_service.h -------------------------------------------------------------------------------- /include/cosigner/prf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/prf.h -------------------------------------------------------------------------------- /include/cosigner/sign_algorithm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/sign_algorithm.h -------------------------------------------------------------------------------- /include/cosigner/timing_map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/timing_map.h -------------------------------------------------------------------------------- /include/cosigner/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/cosigner/types.h -------------------------------------------------------------------------------- /include/crypto/GFp_curve_algebra/GFp_curve_algebra.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/GFp_curve_algebra/GFp_curve_algebra.h -------------------------------------------------------------------------------- /include/crypto/commitments/commitments.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/commitments/commitments.h -------------------------------------------------------------------------------- /include/crypto/commitments/damgard_fujisaki.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/commitments/damgard_fujisaki.h -------------------------------------------------------------------------------- /include/crypto/commitments/pedersen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/commitments/pedersen.h -------------------------------------------------------------------------------- /include/crypto/commitments/ring_pedersen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/commitments/ring_pedersen.h -------------------------------------------------------------------------------- /include/crypto/common/byteswap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/common/byteswap.h -------------------------------------------------------------------------------- /include/crypto/drng/drng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/drng/drng.h -------------------------------------------------------------------------------- /include/crypto/ed25519_algebra/ed25519_algebra.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/ed25519_algebra/ed25519_algebra.h -------------------------------------------------------------------------------- /include/crypto/elliptic_curve_algebra/elliptic_curve256_algebra.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/elliptic_curve_algebra/elliptic_curve256_algebra.h -------------------------------------------------------------------------------- /include/crypto/elliptic_curve_algebra/elliptic_curve_algebra_status.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/elliptic_curve_algebra/elliptic_curve_algebra_status.h -------------------------------------------------------------------------------- /include/crypto/keccak1600/keccak1600.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/keccak1600/keccak1600.h -------------------------------------------------------------------------------- /include/crypto/paillier/paillier.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/paillier/paillier.h -------------------------------------------------------------------------------- /include/crypto/paillier_commitment/paillier_commitment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/paillier_commitment/paillier_commitment.h -------------------------------------------------------------------------------- /include/crypto/shamir_secret_sharing/verifiable_secret_sharing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/shamir_secret_sharing/verifiable_secret_sharing.h -------------------------------------------------------------------------------- /include/crypto/zero_knowledge_proof/diffie_hellman_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/zero_knowledge_proof/diffie_hellman_log.h -------------------------------------------------------------------------------- /include/crypto/zero_knowledge_proof/range_proofs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/zero_knowledge_proof/range_proofs.h -------------------------------------------------------------------------------- /include/crypto/zero_knowledge_proof/schnorr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/zero_knowledge_proof/schnorr.h -------------------------------------------------------------------------------- /include/crypto/zero_knowledge_proof/zero_knowledge_proof_status.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/crypto/zero_knowledge_proof/zero_knowledge_proof_status.h -------------------------------------------------------------------------------- /include/logging/logging_t.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/logging/logging_t.h -------------------------------------------------------------------------------- /include/tests/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/include/tests/catch.hpp -------------------------------------------------------------------------------- /src/common/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/CMakeLists.txt -------------------------------------------------------------------------------- /src/common/blockchain/mpc/hd_derive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/blockchain/mpc/hd_derive.cpp -------------------------------------------------------------------------------- /src/common/cosigner/asymmetric_eddsa_cosigner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/asymmetric_eddsa_cosigner.cpp -------------------------------------------------------------------------------- /src/common/cosigner/asymmetric_eddsa_cosigner_client.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/asymmetric_eddsa_cosigner_client.cpp -------------------------------------------------------------------------------- /src/common/cosigner/asymmetric_eddsa_cosigner_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/asymmetric_eddsa_cosigner_server.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cmp_ecdsa_offline_signing_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cmp_ecdsa_offline_signing_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cmp_ecdsa_online_signing_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cmp_ecdsa_online_signing_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cmp_ecdsa_signing_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cmp_ecdsa_signing_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cmp_key_persistency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cmp_key_persistency.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cmp_offline_refresh_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cmp_offline_refresh_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cmp_setup_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cmp_setup_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/cosigner_exception.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/cosigner_exception.cpp -------------------------------------------------------------------------------- /src/common/cosigner/eddsa_online_signing_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/eddsa_online_signing_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/mta.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/mta.cpp -------------------------------------------------------------------------------- /src/common/cosigner/mta.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/mta.h -------------------------------------------------------------------------------- /src/common/cosigner/platform_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/platform_service.cpp -------------------------------------------------------------------------------- /src/common/cosigner/timing_map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/timing_map.cpp -------------------------------------------------------------------------------- /src/common/cosigner/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/utils.cpp -------------------------------------------------------------------------------- /src/common/cosigner/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/cosigner/utils.h -------------------------------------------------------------------------------- /src/common/crypto/GFp_curve_algebra/GFp_curve_algebra.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/GFp_curve_algebra/GFp_curve_algebra.c -------------------------------------------------------------------------------- /src/common/crypto/algebra_utils/algebra_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/algebra_utils/algebra_utils.c -------------------------------------------------------------------------------- /src/common/crypto/algebra_utils/algebra_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/algebra_utils/algebra_utils.h -------------------------------------------------------------------------------- /src/common/crypto/algebra_utils/status_convert.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/algebra_utils/status_convert.c -------------------------------------------------------------------------------- /src/common/crypto/algebra_utils/status_convert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/algebra_utils/status_convert.h -------------------------------------------------------------------------------- /src/common/crypto/commitments/commitments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/commitments/commitments.c -------------------------------------------------------------------------------- /src/common/crypto/commitments/damgard_fujisaki.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/commitments/damgard_fujisaki.c -------------------------------------------------------------------------------- /src/common/crypto/commitments/damgard_fujisaki_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/commitments/damgard_fujisaki_internal.h -------------------------------------------------------------------------------- /src/common/crypto/commitments/pedersen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/commitments/pedersen.c -------------------------------------------------------------------------------- /src/common/crypto/commitments/ring_pedersen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/commitments/ring_pedersen.c -------------------------------------------------------------------------------- /src/common/crypto/commitments/ring_pedersen_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/commitments/ring_pedersen_internal.h -------------------------------------------------------------------------------- /src/common/crypto/drng/drng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/drng/drng.c -------------------------------------------------------------------------------- /src/common/crypto/ed25519_algebra/curve25519.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/ed25519_algebra/curve25519.c -------------------------------------------------------------------------------- /src/common/crypto/ed25519_algebra/ec_lcl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/ed25519_algebra/ec_lcl.h -------------------------------------------------------------------------------- /src/common/crypto/ed25519_algebra/ed25519_algebra.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/ed25519_algebra/ed25519_algebra.c -------------------------------------------------------------------------------- /src/common/crypto/keccak1600/keccak1600.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/keccak1600/keccak1600.c -------------------------------------------------------------------------------- /src/common/crypto/paillier/alpha.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/paillier/alpha.h -------------------------------------------------------------------------------- /src/common/crypto/paillier/paillier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/paillier/paillier.c -------------------------------------------------------------------------------- /src/common/crypto/paillier/paillier_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/paillier/paillier_internal.h -------------------------------------------------------------------------------- /src/common/crypto/paillier/paillier_zkp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/paillier/paillier_zkp.c -------------------------------------------------------------------------------- /src/common/crypto/paillier_commitment/paillier_commitment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/paillier_commitment/paillier_commitment.c -------------------------------------------------------------------------------- /src/common/crypto/paillier_commitment/paillier_commitment_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/paillier_commitment/paillier_commitment_internal.h -------------------------------------------------------------------------------- /src/common/crypto/shamir_secret_sharing/verifiable_secret_sharing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/shamir_secret_sharing/verifiable_secret_sharing.c -------------------------------------------------------------------------------- /src/common/crypto/zero_knowledge_proof/damgard_fujisaki_zkp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/zero_knowledge_proof/damgard_fujisaki_zkp.c -------------------------------------------------------------------------------- /src/common/crypto/zero_knowledge_proof/diffie_hellman_log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/zero_knowledge_proof/diffie_hellman_log.c -------------------------------------------------------------------------------- /src/common/crypto/zero_knowledge_proof/range_proofs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/zero_knowledge_proof/range_proofs.c -------------------------------------------------------------------------------- /src/common/crypto/zero_knowledge_proof/schnorr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/zero_knowledge_proof/schnorr.c -------------------------------------------------------------------------------- /src/common/crypto/zero_knowledge_proof/zkp_constants_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/crypto/zero_knowledge_proof/zkp_constants_internal.h -------------------------------------------------------------------------------- /src/common/logging/logging_t.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/src/common/logging/logging_t.c -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/cosigner/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/CMakeLists.txt -------------------------------------------------------------------------------- /test/cosigner/cmake/FindUUID.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/cmake/FindUUID.cmake -------------------------------------------------------------------------------- /test/cosigner/ecdsa_offline_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/ecdsa_offline_test.cpp -------------------------------------------------------------------------------- /test/cosigner/ecdsa_online_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/ecdsa_online_test.cpp -------------------------------------------------------------------------------- /test/cosigner/eddsa_offline_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/eddsa_offline_test.cpp -------------------------------------------------------------------------------- /test/cosigner/eddsa_online_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/eddsa_online_test.cpp -------------------------------------------------------------------------------- /test/cosigner/setup_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/setup_test.cpp -------------------------------------------------------------------------------- /test/cosigner/test_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/cosigner/test_common.h -------------------------------------------------------------------------------- /test/crypto/algebra_utils/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/algebra_utils/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/algebra_utils/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/algebra_utils/tests.cpp -------------------------------------------------------------------------------- /test/crypto/drng/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/drng/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/drng/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/drng/tests.cpp -------------------------------------------------------------------------------- /test/crypto/ed25519_algebra/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/ed25519_algebra/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/ed25519_algebra/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/ed25519_algebra/tests.cpp -------------------------------------------------------------------------------- /test/crypto/paillier/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/paillier/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/paillier/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/paillier/tests.cpp -------------------------------------------------------------------------------- /test/crypto/paillier_commitment/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/paillier_commitment/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/paillier_commitment/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/paillier_commitment/tests.cpp -------------------------------------------------------------------------------- /test/crypto/pedersen_commitment/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/pedersen_commitment/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/pedersen_commitment/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/pedersen_commitment/tests.cpp -------------------------------------------------------------------------------- /test/crypto/secp256k1_algebra/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/secp256k1_algebra/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/secp256k1_algebra/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/secp256k1_algebra/tests.cpp -------------------------------------------------------------------------------- /test/crypto/shamir_secret_sharing/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/shamir_secret_sharing/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/shamir_secret_sharing/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/shamir_secret_sharing/tests.cpp -------------------------------------------------------------------------------- /test/crypto/zero_knowledge_proof/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/zero_knowledge_proof/CMakeLists.txt -------------------------------------------------------------------------------- /test/crypto/zero_knowledge_proof/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireblocks/mpc-lib/HEAD/test/crypto/zero_knowledge_proof/tests.cpp -------------------------------------------------------------------------------- /test/tests_main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include 3 | --------------------------------------------------------------------------------