From 40ec0fea381a6538f5498b9fb75706ef9fa79f59 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 16 Oct 2018 00:57:24 +0200 Subject: Add support for BoringSSL. --- docs/LIBS.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/LIBS.md b/docs/LIBS.md index 00dcaaf..ad7aaf0 100644 --- a/docs/LIBS.md +++ b/docs/LIBS.md @@ -7,7 +7,6 @@ Popular libraries with at least some ECC support: - [mbedTLS](https://tls.mbed.org/) - [Nettle](http://www.lysator.liu.se/~nisse/nettle/) - [OpenSSL (FIPS mode)](https://www.openssl.org/docs/fipsnotes.html) - - [BoringSSL](https://boringssl.googlesource.com/boringssl) - [Microsoft .NET crypto](https://docs.microsoft.com/en-us/dotnet/standard/security/cryptography-model) # Supported libraries @@ -61,6 +60,17 @@ Popular libraries with at least some ECC support: - Also uses multiplication with precomputation by wNAF splitting(ec_mult.c) - For binary field curves: - Uses Jacobian coordinates, and Lopez-Dahab ladder, also uses wNAF-based interleaving multi-exponentiation method(ec2_smpl.c) + - [BoringSSL](https://boringssl.googlesource.com/boringssl) + - C + - Supports prime field curves only: + - Use Jacobian coordinates, and Montgomery ladder, also uses optimized arithmetic on NIST P-224, P-256. + - Bundled as a git submodule in `ext/boringssl`. To build and use run: +```bash +cd ext/boringssl +mkdir build && cd build +cmake -DBUILD_SHARED_LIBS=1 -GNinja .. +ninja +``` - [Botan](https://botan.randombit.net/) - C++ - Uses blinded(randomized) Montgomery ladder. -- cgit v1.2.3-70-g09d2