Skip to main content

Module portable

Module portable 

Source
Expand description

The portable, constant-time AES backend.

Works on every target, computes its S-box algebraically rather than reading a table, and is the reference against which the accelerated backends are differentially tested.

Structs§

Schedule
An expanded AES key schedule.

Constants§

BLOCK_LEN
AES block size in bytes.

Functions§

decrypt_block
Decrypt one block in place.
encrypt_block
Encrypt one block in place.