wpa_supplicant / hostapd
2.5
|
AES-128 CBC. More...
Functions | |
int | aes_128_cbc_encrypt (const u8 *key, const u8 *iv, u8 *data, size_t data_len) |
AES-128 CBC encryption. More... | |
int | aes_128_cbc_decrypt (const u8 *key, const u8 *iv, u8 *data, size_t data_len) |
AES-128 CBC decryption. More... | |
AES-128 CBC.
int aes_128_cbc_decrypt | ( | const u8 * | key, |
const u8 * | iv, | ||
u8 * | data, | ||
size_t | data_len | ||
) |
AES-128 CBC decryption.
key | Decryption key |
iv | Decryption IV for CBC mode (16 bytes) |
data | Data to decrypt in-place |
data_len | Length of data in bytes (must be divisible by 16) |
int aes_128_cbc_encrypt | ( | const u8 * | key, |
const u8 * | iv, | ||
u8 * | data, | ||
size_t | data_len | ||
) |
AES-128 CBC encryption.
key | Encryption key |
iv | Encryption IV for CBC mode (16 bytes) |
data | Data to encrypt in-place |
data_len | Length of data in bytes (must be divisible by 16) |