|
wpa_supplicant / hostapd
2.5
|
AES-128 EAX. More...
Functions | |
| int | aes_128_eax_encrypt (const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag) |
| AES-128 EAX mode encryption. More... | |
| int | aes_128_eax_decrypt (const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag) |
| AES-128 EAX mode decryption. More... | |
AES-128 EAX.
| int aes_128_eax_decrypt | ( | const u8 * | key, |
| const u8 * | nonce, | ||
| size_t | nonce_len, | ||
| const u8 * | hdr, | ||
| size_t | hdr_len, | ||
| u8 * | data, | ||
| size_t | data_len, | ||
| const u8 * | tag | ||
| ) |
AES-128 EAX mode decryption.
| key | Key for decryption (16 bytes) |
| nonce | Nonce for counter mode |
| nonce_len | Nonce length in bytes |
| hdr | Header data to be authenticity protected |
| hdr_len | Length of the header data bytes |
| data | Data to encrypt in-place |
| data_len | Length of data in bytes |
| tag | 16-byte tag value |
| int aes_128_eax_encrypt | ( | const u8 * | key, |
| const u8 * | nonce, | ||
| size_t | nonce_len, | ||
| const u8 * | hdr, | ||
| size_t | hdr_len, | ||
| u8 * | data, | ||
| size_t | data_len, | ||
| u8 * | tag | ||
| ) |
AES-128 EAX mode encryption.
| key | Key for encryption (16 bytes) |
| nonce | Nonce for counter mode |
| nonce_len | Nonce length in bytes |
| hdr | Header data to be authenticity protected |
| hdr_len | Length of the header data bytes |
| data | Data to encrypt in-place |
| data_len | Length of data in bytes |
| tag | 16-byte tag value |
1.8.6