wpa_supplicant / hostapd
2.5
|
AES (Rijndael) cipher - decrypt. More...
Macros | |
#define | ROUND(i, d, s) |
Functions | |
void * | aes_decrypt_init (const u8 *key, size_t len) |
Initialize AES for decryption. More... | |
void | aes_decrypt (void *ctx, const u8 *crypt, u8 *plain) |
Decrypt one AES block. More... | |
void | aes_decrypt_deinit (void *ctx) |
Deinitialize AES decryption. More... | |
AES (Rijndael) cipher - decrypt.
Modifications to public domain implementation:
#define ROUND | ( | i, | |
d, | |||
s | |||
) |
void aes_decrypt | ( | void * | ctx, |
const u8 * | crypt, | ||
u8 * | plain | ||
) |
Decrypt one AES block.
ctx | Context pointer from aes_encrypt_init() |
crypt | Encrypted data (16 bytes) |
plain | Buffer for the decrypted data (16 bytes) |
void aes_decrypt_deinit | ( | void * | ctx | ) |
Deinitialize AES decryption.
ctx | Context pointer from aes_encrypt_init() |
void* aes_decrypt_init | ( | const u8 * | key, |
size_t | len | ||
) |
Initialize AES for decryption.
key | Decryption key |
len | Key length in bytes (usually 16, i.e., 128 bits) |