wpa_supplicant / hostapd
2.5
|
AES-128 CTR. More...
Functions | |
int | aes_128_ctr_encrypt (const u8 *key, const u8 *nonce, u8 *data, size_t data_len) |
AES-128 CTR mode encryption. More... | |
AES-128 CTR.
int aes_128_ctr_encrypt | ( | const u8 * | key, |
const u8 * | nonce, | ||
u8 * | data, | ||
size_t | data_len | ||
) |
AES-128 CTR mode encryption.
key | Key for encryption (16 bytes) |
nonce | Nonce for counter mode (16 bytes) |
data | Data to encrypt in-place |
data_len | Length of data in bytes |