Lightweight Cryptography Primitives
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros
internal-skinny-plus-config.h File Reference

Configures the variant of SKINNY-128-384+ to use. More...

Go to the source code of this file.

Macros

#define SKINNY_PLUS_VARIANT_FULL   0
 Select the full fixsliced variant of SKINNY-128-384+. More...
 
#define SKINNY_PLUS_VARIANT_SMALL   1
 Select the small variant of SKINNY-128-384+. More...
 
#define SKINNY_PLUS_VARIANT_TINY   2
 Select the tiny variant of SKINNY-128-384+. More...
 
#define SKINNY_PLUS_VARIANT   SKINNY_PLUS_VARIANT_FULL
 Selects the default variant of SKINNY-128-384+ to use on this platform.
 
#define SKINNY_PLUS_VARIANT_ASM   0
 Defined to 1 if the SKINNY-128-384+ implementation has been replaced with an assembly code version.
 

Detailed Description

Configures the variant of SKINNY-128-384+ to use.

Macro Definition Documentation

#define SKINNY_PLUS_VARIANT_FULL   0

Select the full fixsliced variant of SKINNY-128-384+.

The full variant requires 656 bytes for the key schedule and uses the fixslicing method to implement encryption.

#define SKINNY_PLUS_VARIANT_SMALL   1

Select the small variant of SKINNY-128-384+.

The small variant requires 336 bytes to expand the key schedule ahead of time and uses the regular method to implement encryption.

#define SKINNY_PLUS_VARIANT_TINY   2

Select the tiny variant of SKINNY-128-384+.

The tiny variant requires 48 bytes for the key schedule and uses the regular method to implement encryption. The key schedule is expanded on the fly during encryption.