├── .bazelignore ├── .bazelrc ├── .bazelversion ├── .clang-format ├── .github └── workflows │ ├── bazel.yml │ ├── linter.yml │ ├── macos.yml │ ├── ubuntu.yml │ └── visual-studio.yml ├── .gitignore ├── .python-version ├── BUILD.bazel ├── CMakeLists.txt ├── LICENSE ├── MODULE.bazel ├── MODULE.bazel.lock ├── README.md ├── WORKSPACE ├── cmake ├── CPM.cmake └── ncrypto-flags.cmake ├── include ├── dh-primes.h └── ncrypto.h ├── patches └── 0001-Expose-libdecrepit-so-NodeJS-can-use-it-for-ncrypto.patch ├── pyproject.toml ├── src ├── CMakeLists.txt ├── engine.cpp └── ncrypto.cpp ├── tests ├── BUILD.bazel ├── CMakeLists.txt └── basic.cpp └── tools └── run-clang-format.sh /.bazelignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.bazelignore -------------------------------------------------------------------------------- /.bazelrc: -------------------------------------------------------------------------------- 1 | common --enable_workspace 2 | build --cxxopt="-std=c++20" 3 | -------------------------------------------------------------------------------- /.bazelversion: -------------------------------------------------------------------------------- 1 | 8.0.0 2 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/bazel.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.github/workflows/bazel.yml -------------------------------------------------------------------------------- /.github/workflows/linter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.github/workflows/linter.yml -------------------------------------------------------------------------------- /.github/workflows/macos.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.github/workflows/macos.yml -------------------------------------------------------------------------------- /.github/workflows/ubuntu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.github/workflows/ubuntu.yml -------------------------------------------------------------------------------- /.github/workflows/visual-studio.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.github/workflows/visual-studio.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/BUILD.bazel -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/LICENSE -------------------------------------------------------------------------------- /MODULE.bazel: -------------------------------------------------------------------------------- 1 | bazel_dep(name = "googletest", version = "1.15.2") 2 | -------------------------------------------------------------------------------- /MODULE.bazel.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/MODULE.bazel.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/README.md -------------------------------------------------------------------------------- /WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/WORKSPACE -------------------------------------------------------------------------------- /cmake/CPM.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/cmake/CPM.cmake -------------------------------------------------------------------------------- /cmake/ncrypto-flags.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/cmake/ncrypto-flags.cmake -------------------------------------------------------------------------------- /include/dh-primes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/include/dh-primes.h -------------------------------------------------------------------------------- /include/ncrypto.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/include/ncrypto.h -------------------------------------------------------------------------------- /patches/0001-Expose-libdecrepit-so-NodeJS-can-use-it-for-ncrypto.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/patches/0001-Expose-libdecrepit-so-NodeJS-can-use-it-for-ncrypto.patch -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/engine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/src/engine.cpp -------------------------------------------------------------------------------- /src/ncrypto.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/src/ncrypto.cpp -------------------------------------------------------------------------------- /tests/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/tests/BUILD.bazel -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/basic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/tests/basic.cpp -------------------------------------------------------------------------------- /tools/run-clang-format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/ncrypto/HEAD/tools/run-clang-format.sh --------------------------------------------------------------------------------