Function aes::hazmat::cipher_round
source · pub fn cipher_round(block: &mut Block, round_key: &Block)
Expand description
⚠️ AES cipher (encrypt) round function.
This API performs the following steps as described in FIPS 197 Appendix C:
s_box
: state afterSubBytes()
s_row
: state afterShiftRows()
m_col
: state afterMixColumns()
k_sch
: key schedule value forround[r]
This series of operations is equivalent to the Intel AES-NI AESENC
instruction.
§☢️️ WARNING: HAZARDOUS API ☢️
Use this function with great care! See the module-level documentation for more information.