Lightweight Cryptography Primitives
|
SPECK-64 block cipher. More...
Go to the source code of this file.
Functions | |
void | speck64_128_encrypt (const unsigned char *key, unsigned char *output, const unsigned char *input) |
Encrypts a 64-bit block with SPECK-64-128 in COMET byte order. More... | |
SPECK-64 block cipher.
void speck64_128_encrypt | ( | const unsigned char * | key, |
unsigned char * | output, | ||
const unsigned char * | input | ||
) |
Encrypts a 64-bit block with SPECK-64-128 in COMET byte order.
key | Points to the 16 bytes of the key. |
output | Output buffer which must be at least 8 bytes in length. |
input | Input buffer which must be at least 8 bytes in length. |
The input and output buffers can be the same buffer for in-place encryption.