Add no_std support to transcript, dalek-ff-group, ed448, ciphersuite, multiexp, schnorr, and monero-generators

transcript, dalek-ff-group, ed449, and ciphersuite are all usable with no_std
alone. The rest additionally require alloc.

Part of #279.
This commit is contained in:
Luke Parker
2023-04-22 04:38:47 -04:00
parent ef0c901455
commit 1e448dec21
38 changed files with 445 additions and 76 deletions

View File

@@ -15,17 +15,17 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
rustversion = "1"
subtle = "^2.4"
zeroize = "^1.5"
subtle = { version = "^2.4", default-features = false }
zeroize = { version = "^1.5", default-features = false }
digest = "0.10"
digest = { version = "0.10", default-features = false, features = ["core-api"] }
blake2 = { version = "0.10", optional = true }
merlin = { version = "3", optional = true }
blake2 = { version = "0.10", default-features = false, optional = true }
merlin = { version = "3", default-features = false, optional = true }
[dev-dependencies]
sha2 = "0.10"
blake2 = "0.10"
sha2 = { version = "0.10", default-features = false }
blake2 = { version = "0.10", default-features = false }
[features]
recommended = ["blake2"]

View File

@@ -31,3 +31,5 @@ This library was
culminating in commit
[669d2dbffc1dafb82a09d9419ea182667115df06](https://github.com/serai-dex/serai/tree/669d2dbffc1dafb82a09d9419ea182667115df06).
Any subsequent changes have not undergone auditing.
This library is usable under no_std.