summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-21 10:05:03 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-21 10:05:26 +0200
commite0ed2c19dc4f014c59772a68cdb5bb21026adbda (patch)
tree7a769b2c117f861283dc900d74767f2816484767
parent666058f42f5f9f033cfb218a30477ead9be17af5 (diff)
Update README.md.
-rw-r--r--openpgp/README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/openpgp/README.md b/openpgp/README.md
index 97b16a41..82575319 100644
--- a/openpgp/README.md
+++ b/openpgp/README.md
@@ -61,8 +61,18 @@ explicitly enable a crypto backend.
## Crypto backends
-Currently, Sequoia only supports the Nettle cryptographic library as
-crypto backend. To enable it, use the `crypto-nettle` flag.
+Sequoia supports multiple cryptographic libraries that can be selected
+at compile time. Currently, these libraries are available:
+
+ - The Nettle cryptographic library. This is the default backend,
+ and is selected by the default feature set. If you use
+ `default-features = false`, you need to explicitly include
+ the `crypto-nettle` feature to enable it.
+
+ - The Windows Cryptography API: Next Generation (CNG). To select
+ this backend, use `default-features = false`, and explicitly
+ include the `crypto-cng` feature to enable it. Currently, the CNG
+ backend requires at least Windows 10.
## Compression algorithms