Closed mberry closed 1 year ago
Use rustcrypto for the 90's mode AES functions.
Kyber uses some intermediate functions not exposed by the rustcrypto crate, namely aes256ctr_init and aes256ctr_squeezeblocks
aes256ctr_init
aes256ctr_squeezeblocks
The PRF is already implemented yet not in use.
https://github.com/Argyle-Software/kyber/blob/6e274dcd11ef85b7aa642be24054a3847683d293/src/symmetric.rs#L117-L129
Benchmarking this it seems best to only use the rustcrypto version, both for speed and a bitslice impl
Implemented with 90s-fixslice
90s-fixslice
Use rustcrypto for the 90's mode AES functions.
Kyber uses some intermediate functions not exposed by the rustcrypto crate, namely
aes256ctr_init
andaes256ctr_squeezeblocks
The PRF is already implemented yet not in use.
https://github.com/Argyle-Software/kyber/blob/6e274dcd11ef85b7aa642be24054a3847683d293/src/symmetric.rs#L117-L129