Expand description
Core utilites for cryptographic protocols.
This crate implements several core utilities for cryptographic protocols.
The most important type is the 128-bit Block
. As we generally use a
security parameter of 128 bits, this type is a convenient way of storing
security parameter many bits.
Re-exports§
pub use block::Block;
Modules§
- aes_
hash - Correlation robust AES hash.
- aes_rng
- RNG based on AES in CTR mode.
- alloc
- Allocation utilities for efficiently allocating zeroed memory.
- block
- A 128-bit
Block
type. - buf
- Owned buffer abstraction trait for
Vec
andHugePageMemory
. - rand_
compat - Compatability wrapper between rand_core 0.9 and rand_core 0.6.
- random_
oracle - Aliases to Blake3 as a random oracle.
- tokio_
rayon - Tokio-Rayon integration to spawn compute tasks in async contexts.
- transpose
- Transpose bit-matrices fast.
- utils
- Small utility functions such as
xor_inplace
.
Constants§
- AES_
PAR_ BLOCKS - Number of Blocks for which hardware accelerated AES can make use of ILP.