|
wpa_supplicant / hostapd
2.5
|
AES (Rijndael) cipher - encrypt. More...
Macros | |
| #define | ROUND(i, d, s) |
Functions | |
| void * | aes_encrypt_init (const u8 *key, size_t len) |
| Initialize AES for encryption. More... | |
| void | aes_encrypt (void *ctx, const u8 *plain, u8 *crypt) |
| Encrypt one AES block. More... | |
| void | aes_encrypt_deinit (void *ctx) |
| Deinitialize AES encryption. More... | |
AES (Rijndael) cipher - encrypt.
Modifications to public domain implementation:
| #define ROUND | ( | i, | |
| d, | |||
| s | |||
| ) |
| void aes_encrypt | ( | void * | ctx, |
| const u8 * | plain, | ||
| u8 * | crypt | ||
| ) |
Encrypt one AES block.
| ctx | Context pointer from aes_encrypt_init() |
| plain | Plaintext data to be encrypted (16 bytes) |
| crypt | Buffer for the encrypted data (16 bytes) |
| void aes_encrypt_deinit | ( | void * | ctx | ) |
Deinitialize AES encryption.
| ctx | Context pointer from aes_encrypt_init() |
| void* aes_encrypt_init | ( | const u8 * | key, |
| size_t | len | ||
| ) |
Initialize AES for encryption.
| key | Encryption key |
| len | Key length in bytes (usually 16, i.e., 128 bits) |
1.8.6