| 
    Salmon
    
   | 
 
Encrypt and decrypt data with AES-256 in CTR mode using OpenCL. More...
Go to the source code of this file.
Functions | |
| int | init_opencl () | 
| int | aes_opencl_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 OpenCL.
| int aes_opencl_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 | 
| int init_opencl | ( | ) | 
Initialize OpenCL