Lightweight Cryptography Primitives
|
SimP permutation family. More...
#include "internal-util.h"
Go to the source code of this file.
Macros | |
#define | SIMP_256_STATE_SIZE 32 |
State size of the SimP-256 permutation. | |
#define | SIMP_192_STATE_SIZE 24 |
State size of the SimP-192 permutation. | |
Functions | |
void | simp_256_permute (unsigned char state[SIMP_256_STATE_SIZE], unsigned steps) |
Permutes a state with SimP-256. More... | |
void | simp_192_permute (unsigned char state[SIMP_192_STATE_SIZE], unsigned steps) |
Permutes a state with SimP-192. More... | |
SimP permutation family.
SimP-256 and SimP-192 are used by the Oribatida submission to round 2 of the NIST Lightweight Cryptography Competition. The permutations are built around reduced-round variants of the Simon-128-128 and Simon-96-96 block ciphers.
References: https://www.isical.ac.in/~lightweight/oribatida/
void simp_192_permute | ( | unsigned char | state[SIMP_192_STATE_SIZE], |
unsigned | steps | ||
) |
Permutes a state with SimP-192.
state | State to be permuted. |
steps | Number of steps to perform (usually 2 or 4). |
void simp_256_permute | ( | unsigned char | state[SIMP_256_STATE_SIZE], |
unsigned | steps | ||
) |
Permutes a state with SimP-256.
state | State to be permuted. |
steps | Number of steps to perform (usually 2 or 4). |