Cargo Features
pqc_dilithium_edit has no features set by default.
[dependencies]
pqc_dilithium_edit = { version = "0.2.0", features = ["mode2", "mode5", "aes", "random_signing"] }
- mode2
-
By default this library uses mode3, also called Dilithium3
- mode3 mode5
- aes
-
Enables AES mode which uses AES-256 in counter mode instead of SHAKE
Affects
symmetric::Stream128State
,symmetric::Stream256State
,symmetric::STREAM128_BLOCKBYTES
,symmetric::STREAM256_BLOCKBYTES
,symmetric::dilithium_aes256ctr_init
… - random_signing
-
Produces a random signature everytime when signing the same message.
One may want to consider randomized signatures in situations where the side channel attacks exploiting determinism are applicable. Another situation where one may want to avoid determinism is when the signer does not wish to reveal the message that is being signed.