Cargo Features
[dependencies]
hpke = { version = "0.14.0-pre.1", default-features = false, features = ["x25519", "p384", "p256", "p521", "alloc", "std"] }
- default = alloc, p256, x25519
-
"p256" enables the use of ECDH-NIST-P256 as a KEM
"p384" enables the use of ECDH-NIST-P384 as a KEM
"x25519" enables the use of the X25519 as a KEM - x25519 default
-
Enables x25519-dalek
- p384
-
Enables p384
- p256 default
-
Enables p256
- p521
-
Enables p521
- alloc default std?
-
Include allocating methods like open() and seal()
Affects
single_shot::single_shot_seal,single_shot::single_shot_open… - std = alloc
-
Used to enable KAT tests. Also implies alloc