|
Salmon
|
Encrypt and decrypt data with AES-256 in CTR mode using AES-NI intrinsics. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| int | aes_intr_transform_ctr (const unsigned char *expandedKey, unsigned char *counter, const unsigned char *srcBuffer, int srcOffset, unsigned char *destBuffer, int destOffset, int count) |
Encrypt and decrypt data with AES-256 in CTR mode using AES-NI intrinsics.
| int aes_intr_transform_ctr | ( | const unsigned char * | expandedKey, |
| unsigned char * | counter, | ||
| const unsigned char * | srcBuffer, | ||
| int | srcOffset, | ||
| unsigned char * | destBuffer, | ||
| int | destOffset, | ||
| int | count ) |
Transform the data using AES-256 CTR mode.
| expandedKey | The expanded AES-256 key (240 bytes), see aes_key_expand() |
| counter | The counter. |
| srcBuffer | The source array to transform. |
| srcOffset | The source offset. |
| destBuffer | The source array to transform. |
| destOffset | The destination offset |
| count | The number of bytes to transform |