| 1 |
aes: Advanced Encryption Standard (AES) support |
| 2 |
|
| 3 |
The crypto::aes module provides an implementation of the Advanced Encryption |
| 4 |
Standard per the [[crypto::cipher::block]] interface. Several implementations of |
| 5 |
AES are provided which are optimized for different scenarios. To choose the most |
| 6 |
appropriate one for your system, use [[aes]]. |
| 7 |
|
| 8 |
When combined with a block cipher mode from [[crypto::cipher::]], suitable |
| 9 |
buffer lengths for static allocation are provided as constants such as |
| 10 |
[[BLOCKSZ]], [[CTR_BUFSZ]], and [[CBC_BUFSZ]]. |
| 11 |
|
| 12 |
This is a low-level module which implements cryptographic primitives. Direct use |
| 13 |
of cryptographic primitives is not recommended for non-experts, as incorrect use |
| 14 |
of these primitives can easily lead to the introduction of security |
| 15 |
vulnerabilities. Non-experts are advised to use the high-level operations |
| 16 |
available in the top-level [[crypto::]] module. |
| 17 |
|
| 18 |
Be advised that Hare's cryptography implementations have not been audited. |