23 #ifndef CRYPTO_SPECK_SMALL_H
24 #define CRYPTO_SPECK_SMALL_H
26 #include "SpeckTiny.h"
34 bool setKey(
const uint8_t *key,
size_t len);
36 void decryptBlock(uint8_t *output,
const uint8_t *input);
Speck block cipher with a 128-bit block size (small-memory version).
SpeckSmall()
Constructs a small-memory Speck block cipher with no initial key.
bool setKey(const uint8_t *key, size_t len)
Sets the key to use for future encryption and decryption operations.
void clear()
Clears all security-sensitive state from this block cipher.
void decryptBlock(uint8_t *output, const uint8_t *input)
Decrypts a single block using this cipher.
Speck block cipher with a 128-bit block size (tiny-memory version).