ASCON Suite
Macros
ascon-util.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define STATIC_INLINE   static
 
#define be_load_word32(ptr)
 
#define be_store_word32(ptr, x)
 
#define le_load_word32(ptr)
 
#define le_store_word32(ptr, x)
 
#define reverse_word32(x)
 
#define be_load_word64(ptr)
 
#define be_store_word64(ptr, x)
 
#define le_load_word64(ptr)
 
#define le_store_word64(ptr, x)
 
#define be_load_word16(ptr)
 
#define be_store_word16(ptr, x)
 
#define le_load_word16(ptr)
 
#define le_store_word16(ptr, x)
 
#define lw_xor_block(dest, src, len)
 
#define lw_xor_block_2_src(dest, src1, src2, len)
 
#define lw_xor_block_2_dest(dest2, dest, src, len)
 
#define lw_xor_block_copy_src(dest2, dest, src1, src2, len)
 
#define lw_xor_block_swap(dest2, dest, src, len)
 
#define LW_CRYPTO_ROTATE32_COMPOSED   0
 
#define leftRotate(a, bits)
 
#define rightRotate(a, bits)
 
#define leftRotate1(a)   (leftRotate((a), 1))
 
#define leftRotate2(a)   (leftRotate((a), 2))
 
#define leftRotate3(a)   (leftRotate((a), 3))
 
#define leftRotate4(a)   (leftRotate((a), 4))
 
#define leftRotate5(a)   (leftRotate((a), 5))
 
#define leftRotate6(a)   (leftRotate((a), 6))
 
#define leftRotate7(a)   (leftRotate((a), 7))
 
#define leftRotate8(a)   (leftRotate((a), 8))
 
#define leftRotate9(a)   (leftRotate((a), 9))
 
#define leftRotate10(a)   (leftRotate((a), 10))
 
#define leftRotate11(a)   (leftRotate((a), 11))
 
#define leftRotate12(a)   (leftRotate((a), 12))
 
#define leftRotate13(a)   (leftRotate((a), 13))
 
#define leftRotate14(a)   (leftRotate((a), 14))
 
#define leftRotate15(a)   (leftRotate((a), 15))
 
#define leftRotate16(a)   (leftRotate((a), 16))
 
#define leftRotate17(a)   (leftRotate((a), 17))
 
#define leftRotate18(a)   (leftRotate((a), 18))
 
#define leftRotate19(a)   (leftRotate((a), 19))
 
#define leftRotate20(a)   (leftRotate((a), 20))
 
#define leftRotate21(a)   (leftRotate((a), 21))
 
#define leftRotate22(a)   (leftRotate((a), 22))
 
#define leftRotate23(a)   (leftRotate((a), 23))
 
#define leftRotate24(a)   (leftRotate((a), 24))
 
#define leftRotate25(a)   (leftRotate((a), 25))
 
#define leftRotate26(a)   (leftRotate((a), 26))
 
#define leftRotate27(a)   (leftRotate((a), 27))
 
#define leftRotate28(a)   (leftRotate((a), 28))
 
#define leftRotate29(a)   (leftRotate((a), 29))
 
#define leftRotate30(a)   (leftRotate((a), 30))
 
#define leftRotate31(a)   (leftRotate((a), 31))
 
#define rightRotate1(a)   (rightRotate((a), 1))
 
#define rightRotate2(a)   (rightRotate((a), 2))
 
#define rightRotate3(a)   (rightRotate((a), 3))
 
#define rightRotate4(a)   (rightRotate((a), 4))
 
#define rightRotate5(a)   (rightRotate((a), 5))
 
#define rightRotate6(a)   (rightRotate((a), 6))
 
#define rightRotate7(a)   (rightRotate((a), 7))
 
#define rightRotate8(a)   (rightRotate((a), 8))
 
#define rightRotate9(a)   (rightRotate((a), 9))
 
#define rightRotate10(a)   (rightRotate((a), 10))
 
#define rightRotate11(a)   (rightRotate((a), 11))
 
#define rightRotate12(a)   (rightRotate((a), 12))
 
#define rightRotate13(a)   (rightRotate((a), 13))
 
#define rightRotate14(a)   (rightRotate((a), 14))
 
#define rightRotate15(a)   (rightRotate((a), 15))
 
#define rightRotate16(a)   (rightRotate((a), 16))
 
#define rightRotate17(a)   (rightRotate((a), 17))
 
#define rightRotate18(a)   (rightRotate((a), 18))
 
#define rightRotate19(a)   (rightRotate((a), 19))
 
#define rightRotate20(a)   (rightRotate((a), 20))
 
#define rightRotate21(a)   (rightRotate((a), 21))
 
#define rightRotate22(a)   (rightRotate((a), 22))
 
#define rightRotate23(a)   (rightRotate((a), 23))
 
#define rightRotate24(a)   (rightRotate((a), 24))
 
#define rightRotate25(a)   (rightRotate((a), 25))
 
#define rightRotate26(a)   (rightRotate((a), 26))
 
#define rightRotate27(a)   (rightRotate((a), 27))
 
#define rightRotate28(a)   (rightRotate((a), 28))
 
#define rightRotate29(a)   (rightRotate((a), 29))
 
#define rightRotate30(a)   (rightRotate((a), 30))
 
#define rightRotate31(a)   (rightRotate((a), 31))
 
#define leftRotate_64(a, bits)
 
#define rightRotate_64(a, bits)
 
#define leftRotate1_64(a)   (leftRotate_64((a), 1))
 
#define leftRotate2_64(a)   (leftRotate_64((a), 2))
 
#define leftRotate3_64(a)   (leftRotate_64((a), 3))
 
#define leftRotate4_64(a)   (leftRotate_64((a), 4))
 
#define leftRotate5_64(a)   (leftRotate_64((a), 5))
 
#define leftRotate6_64(a)   (leftRotate_64((a), 6))
 
#define leftRotate7_64(a)   (leftRotate_64((a), 7))
 
#define leftRotate8_64(a)   (leftRotate_64((a), 8))
 
#define leftRotate9_64(a)   (leftRotate_64((a), 9))
 
#define leftRotate10_64(a)   (leftRotate_64((a), 10))
 
#define leftRotate11_64(a)   (leftRotate_64((a), 11))
 
#define leftRotate12_64(a)   (leftRotate_64((a), 12))
 
#define leftRotate13_64(a)   (leftRotate_64((a), 13))
 
#define leftRotate14_64(a)   (leftRotate_64((a), 14))
 
#define leftRotate15_64(a)   (leftRotate_64((a), 15))
 
#define leftRotate16_64(a)   (leftRotate_64((a), 16))
 
#define leftRotate17_64(a)   (leftRotate_64((a), 17))
 
#define leftRotate18_64(a)   (leftRotate_64((a), 18))
 
#define leftRotate19_64(a)   (leftRotate_64((a), 19))
 
#define leftRotate20_64(a)   (leftRotate_64((a), 20))
 
#define leftRotate21_64(a)   (leftRotate_64((a), 21))
 
#define leftRotate22_64(a)   (leftRotate_64((a), 22))
 
#define leftRotate23_64(a)   (leftRotate_64((a), 23))
 
#define leftRotate24_64(a)   (leftRotate_64((a), 24))
 
#define leftRotate25_64(a)   (leftRotate_64((a), 25))
 
#define leftRotate26_64(a)   (leftRotate_64((a), 26))
 
#define leftRotate27_64(a)   (leftRotate_64((a), 27))
 
#define leftRotate28_64(a)   (leftRotate_64((a), 28))
 
#define leftRotate29_64(a)   (leftRotate_64((a), 29))
 
#define leftRotate30_64(a)   (leftRotate_64((a), 30))
 
#define leftRotate31_64(a)   (leftRotate_64((a), 31))
 
#define leftRotate32_64(a)   (leftRotate_64((a), 32))
 
#define leftRotate33_64(a)   (leftRotate_64((a), 33))
 
#define leftRotate34_64(a)   (leftRotate_64((a), 34))
 
#define leftRotate35_64(a)   (leftRotate_64((a), 35))
 
#define leftRotate36_64(a)   (leftRotate_64((a), 36))
 
#define leftRotate37_64(a)   (leftRotate_64((a), 37))
 
#define leftRotate38_64(a)   (leftRotate_64((a), 38))
 
#define leftRotate39_64(a)   (leftRotate_64((a), 39))
 
#define leftRotate40_64(a)   (leftRotate_64((a), 40))
 
#define leftRotate41_64(a)   (leftRotate_64((a), 41))
 
#define leftRotate42_64(a)   (leftRotate_64((a), 42))
 
#define leftRotate43_64(a)   (leftRotate_64((a), 43))
 
#define leftRotate44_64(a)   (leftRotate_64((a), 44))
 
#define leftRotate45_64(a)   (leftRotate_64((a), 45))
 
#define leftRotate46_64(a)   (leftRotate_64((a), 46))
 
#define leftRotate47_64(a)   (leftRotate_64((a), 47))
 
#define leftRotate48_64(a)   (leftRotate_64((a), 48))
 
#define leftRotate49_64(a)   (leftRotate_64((a), 49))
 
#define leftRotate50_64(a)   (leftRotate_64((a), 50))
 
#define leftRotate51_64(a)   (leftRotate_64((a), 51))
 
#define leftRotate52_64(a)   (leftRotate_64((a), 52))
 
#define leftRotate53_64(a)   (leftRotate_64((a), 53))
 
#define leftRotate54_64(a)   (leftRotate_64((a), 54))
 
#define leftRotate55_64(a)   (leftRotate_64((a), 55))
 
#define leftRotate56_64(a)   (leftRotate_64((a), 56))
 
#define leftRotate57_64(a)   (leftRotate_64((a), 57))
 
#define leftRotate58_64(a)   (leftRotate_64((a), 58))
 
#define leftRotate59_64(a)   (leftRotate_64((a), 59))
 
#define leftRotate60_64(a)   (leftRotate_64((a), 60))
 
#define leftRotate61_64(a)   (leftRotate_64((a), 61))
 
#define leftRotate62_64(a)   (leftRotate_64((a), 62))
 
#define leftRotate63_64(a)   (leftRotate_64((a), 63))
 
#define rightRotate1_64(a)   (rightRotate_64((a), 1))
 
#define rightRotate2_64(a)   (rightRotate_64((a), 2))
 
#define rightRotate3_64(a)   (rightRotate_64((a), 3))
 
#define rightRotate4_64(a)   (rightRotate_64((a), 4))
 
#define rightRotate5_64(a)   (rightRotate_64((a), 5))
 
#define rightRotate6_64(a)   (rightRotate_64((a), 6))
 
#define rightRotate7_64(a)   (rightRotate_64((a), 7))
 
#define rightRotate8_64(a)   (rightRotate_64((a), 8))
 
#define rightRotate9_64(a)   (rightRotate_64((a), 9))
 
#define rightRotate10_64(a)   (rightRotate_64((a), 10))
 
#define rightRotate11_64(a)   (rightRotate_64((a), 11))
 
#define rightRotate12_64(a)   (rightRotate_64((a), 12))
 
#define rightRotate13_64(a)   (rightRotate_64((a), 13))
 
#define rightRotate14_64(a)   (rightRotate_64((a), 14))
 
#define rightRotate15_64(a)   (rightRotate_64((a), 15))
 
#define rightRotate16_64(a)   (rightRotate_64((a), 16))
 
#define rightRotate17_64(a)   (rightRotate_64((a), 17))
 
#define rightRotate18_64(a)   (rightRotate_64((a), 18))
 
#define rightRotate19_64(a)   (rightRotate_64((a), 19))
 
#define rightRotate20_64(a)   (rightRotate_64((a), 20))
 
#define rightRotate21_64(a)   (rightRotate_64((a), 21))
 
#define rightRotate22_64(a)   (rightRotate_64((a), 22))
 
#define rightRotate23_64(a)   (rightRotate_64((a), 23))
 
#define rightRotate24_64(a)   (rightRotate_64((a), 24))
 
#define rightRotate25_64(a)   (rightRotate_64((a), 25))
 
#define rightRotate26_64(a)   (rightRotate_64((a), 26))
 
#define rightRotate27_64(a)   (rightRotate_64((a), 27))
 
#define rightRotate28_64(a)   (rightRotate_64((a), 28))
 
#define rightRotate29_64(a)   (rightRotate_64((a), 29))
 
#define rightRotate30_64(a)   (rightRotate_64((a), 30))
 
#define rightRotate31_64(a)   (rightRotate_64((a), 31))
 
#define rightRotate32_64(a)   (rightRotate_64((a), 32))
 
#define rightRotate33_64(a)   (rightRotate_64((a), 33))
 
#define rightRotate34_64(a)   (rightRotate_64((a), 34))
 
#define rightRotate35_64(a)   (rightRotate_64((a), 35))
 
#define rightRotate36_64(a)   (rightRotate_64((a), 36))
 
#define rightRotate37_64(a)   (rightRotate_64((a), 37))
 
#define rightRotate38_64(a)   (rightRotate_64((a), 38))
 
#define rightRotate39_64(a)   (rightRotate_64((a), 39))
 
#define rightRotate40_64(a)   (rightRotate_64((a), 40))
 
#define rightRotate41_64(a)   (rightRotate_64((a), 41))
 
#define rightRotate42_64(a)   (rightRotate_64((a), 42))
 
#define rightRotate43_64(a)   (rightRotate_64((a), 43))
 
#define rightRotate44_64(a)   (rightRotate_64((a), 44))
 
#define rightRotate45_64(a)   (rightRotate_64((a), 45))
 
#define rightRotate46_64(a)   (rightRotate_64((a), 46))
 
#define rightRotate47_64(a)   (rightRotate_64((a), 47))
 
#define rightRotate48_64(a)   (rightRotate_64((a), 48))
 
#define rightRotate49_64(a)   (rightRotate_64((a), 49))
 
#define rightRotate50_64(a)   (rightRotate_64((a), 50))
 
#define rightRotate51_64(a)   (rightRotate_64((a), 51))
 
#define rightRotate52_64(a)   (rightRotate_64((a), 52))
 
#define rightRotate53_64(a)   (rightRotate_64((a), 53))
 
#define rightRotate54_64(a)   (rightRotate_64((a), 54))
 
#define rightRotate55_64(a)   (rightRotate_64((a), 55))
 
#define rightRotate56_64(a)   (rightRotate_64((a), 56))
 
#define rightRotate57_64(a)   (rightRotate_64((a), 57))
 
#define rightRotate58_64(a)   (rightRotate_64((a), 58))
 
#define rightRotate59_64(a)   (rightRotate_64((a), 59))
 
#define rightRotate60_64(a)   (rightRotate_64((a), 60))
 
#define rightRotate61_64(a)   (rightRotate_64((a), 61))
 
#define rightRotate62_64(a)   (rightRotate_64((a), 62))
 
#define rightRotate63_64(a)   (rightRotate_64((a), 63))
 
#define leftRotate_16(a, bits)
 
#define rightRotate_16(a, bits)
 
#define leftRotate1_16(a)   (leftRotate_16((a), 1))
 
#define leftRotate2_16(a)   (leftRotate_16((a), 2))
 
#define leftRotate3_16(a)   (leftRotate_16((a), 3))
 
#define leftRotate4_16(a)   (leftRotate_16((a), 4))
 
#define leftRotate5_16(a)   (leftRotate_16((a), 5))
 
#define leftRotate6_16(a)   (leftRotate_16((a), 6))
 
#define leftRotate7_16(a)   (leftRotate_16((a), 7))
 
#define leftRotate8_16(a)   (leftRotate_16((a), 8))
 
#define leftRotate9_16(a)   (leftRotate_16((a), 9))
 
#define leftRotate10_16(a)   (leftRotate_16((a), 10))
 
#define leftRotate11_16(a)   (leftRotate_16((a), 11))
 
#define leftRotate12_16(a)   (leftRotate_16((a), 12))
 
#define leftRotate13_16(a)   (leftRotate_16((a), 13))
 
#define leftRotate14_16(a)   (leftRotate_16((a), 14))
 
#define leftRotate15_16(a)   (leftRotate_16((a), 15))
 
#define rightRotate1_16(a)   (rightRotate_16((a), 1))
 
#define rightRotate2_16(a)   (rightRotate_16((a), 2))
 
#define rightRotate3_16(a)   (rightRotate_16((a), 3))
 
#define rightRotate4_16(a)   (rightRotate_16((a), 4))
 
#define rightRotate5_16(a)   (rightRotate_16((a), 5))
 
#define rightRotate6_16(a)   (rightRotate_16((a), 6))
 
#define rightRotate7_16(a)   (rightRotate_16((a), 7))
 
#define rightRotate8_16(a)   (rightRotate_16((a), 8))
 
#define rightRotate9_16(a)   (rightRotate_16((a), 9))
 
#define rightRotate10_16(a)   (rightRotate_16((a), 10))
 
#define rightRotate11_16(a)   (rightRotate_16((a), 11))
 
#define rightRotate12_16(a)   (rightRotate_16((a), 12))
 
#define rightRotate13_16(a)   (rightRotate_16((a), 13))
 
#define rightRotate14_16(a)   (rightRotate_16((a), 14))
 
#define rightRotate15_16(a)   (rightRotate_16((a), 15))
 
#define leftRotate_8(a, bits)
 
#define rightRotate_8(a, bits)
 
#define leftRotate1_8(a)   (leftRotate_8((a), 1))
 
#define leftRotate2_8(a)   (leftRotate_8((a), 2))
 
#define leftRotate3_8(a)   (leftRotate_8((a), 3))
 
#define leftRotate4_8(a)   (leftRotate_8((a), 4))
 
#define leftRotate5_8(a)   (leftRotate_8((a), 5))
 
#define leftRotate6_8(a)   (leftRotate_8((a), 6))
 
#define leftRotate7_8(a)   (leftRotate_8((a), 7))
 
#define rightRotate1_8(a)   (rightRotate_8((a), 1))
 
#define rightRotate2_8(a)   (rightRotate_8((a), 2))
 
#define rightRotate3_8(a)   (rightRotate_8((a), 3))
 
#define rightRotate4_8(a)   (rightRotate_8((a), 4))
 
#define rightRotate5_8(a)   (rightRotate_8((a), 5))
 
#define rightRotate6_8(a)   (rightRotate_8((a), 6))
 
#define rightRotate7_8(a)   (rightRotate_8((a), 7))
 

Macro Definition Documentation

◆ be_load_word16

#define be_load_word16 (   ptr)
Value:
((((uint16_t)((ptr)[0])) << 8) | \
((uint16_t)((ptr)[1])))

Definition at line 157 of file ascon-util.h.

◆ be_load_word32

#define be_load_word32 (   ptr)
Value:
((((uint32_t)((ptr)[0])) << 24) | \
(((uint32_t)((ptr)[1])) << 16) | \
(((uint32_t)((ptr)[2])) << 8) | \
((uint32_t)((ptr)[3])))

Definition at line 68 of file ascon-util.h.

◆ be_load_word64

#define be_load_word64 (   ptr)
Value:
((((uint64_t)((ptr)[0])) << 56) | \
(((uint64_t)((ptr)[1])) << 48) | \
(((uint64_t)((ptr)[2])) << 40) | \
(((uint64_t)((ptr)[3])) << 32) | \
(((uint64_t)((ptr)[4])) << 24) | \
(((uint64_t)((ptr)[5])) << 16) | \
(((uint64_t)((ptr)[6])) << 8) | \
((uint64_t)((ptr)[7])))

Definition at line 107 of file ascon-util.h.

◆ be_store_word16

#define be_store_word16 (   ptr,
 
)
Value:
do { \
uint16_t _x = (x); \
(ptr)[0] = (uint8_t)(_x >> 8); \
(ptr)[1] = (uint8_t)_x; \
} while (0)

Definition at line 162 of file ascon-util.h.

◆ be_store_word32

#define be_store_word32 (   ptr,
 
)
Value:
do { \
uint32_t _x = (x); \
(ptr)[0] = (uint8_t)(_x >> 24); \
(ptr)[1] = (uint8_t)(_x >> 16); \
(ptr)[2] = (uint8_t)(_x >> 8); \
(ptr)[3] = (uint8_t)_x; \
} while (0)

Definition at line 75 of file ascon-util.h.

◆ be_store_word64

#define be_store_word64 (   ptr,
 
)
Value:
do { \
uint64_t _x = (x); \
(ptr)[0] = (uint8_t)(_x >> 56); \
(ptr)[1] = (uint8_t)(_x >> 48); \
(ptr)[2] = (uint8_t)(_x >> 40); \
(ptr)[3] = (uint8_t)(_x >> 32); \
(ptr)[4] = (uint8_t)(_x >> 24); \
(ptr)[5] = (uint8_t)(_x >> 16); \
(ptr)[6] = (uint8_t)(_x >> 8); \
(ptr)[7] = (uint8_t)_x; \
} while (0)

Definition at line 118 of file ascon-util.h.

◆ le_load_word16

#define le_load_word16 (   ptr)
Value:
((((uint16_t)((ptr)[1])) << 8) | \
((uint16_t)((ptr)[0])))

Definition at line 170 of file ascon-util.h.

◆ le_load_word32

#define le_load_word32 (   ptr)
Value:
((((uint32_t)((ptr)[3])) << 24) | \
(((uint32_t)((ptr)[2])) << 16) | \
(((uint32_t)((ptr)[1])) << 8) | \
((uint32_t)((ptr)[0])))

Definition at line 85 of file ascon-util.h.

◆ le_load_word64

#define le_load_word64 (   ptr)
Value:
((((uint64_t)((ptr)[7])) << 56) | \
(((uint64_t)((ptr)[6])) << 48) | \
(((uint64_t)((ptr)[5])) << 40) | \
(((uint64_t)((ptr)[4])) << 32) | \
(((uint64_t)((ptr)[3])) << 24) | \
(((uint64_t)((ptr)[2])) << 16) | \
(((uint64_t)((ptr)[1])) << 8) | \
((uint64_t)((ptr)[0])))

Definition at line 132 of file ascon-util.h.

◆ le_store_word16

#define le_store_word16 (   ptr,
 
)
Value:
do { \
uint16_t _x = (x); \
(ptr)[0] = (uint8_t)_x; \
(ptr)[1] = (uint8_t)(_x >> 8); \
} while (0)

Definition at line 175 of file ascon-util.h.

◆ le_store_word32

#define le_store_word32 (   ptr,
 
)
Value:
do { \
uint32_t _x = (x); \
(ptr)[0] = (uint8_t)_x; \
(ptr)[1] = (uint8_t)(_x >> 8); \
(ptr)[2] = (uint8_t)(_x >> 16); \
(ptr)[3] = (uint8_t)(_x >> 24); \
} while (0)

Definition at line 92 of file ascon-util.h.

◆ le_store_word64

#define le_store_word64 (   ptr,
 
)
Value:
do { \
uint64_t _x = (x); \
(ptr)[0] = (uint8_t)_x; \
(ptr)[1] = (uint8_t)(_x >> 8); \
(ptr)[2] = (uint8_t)(_x >> 16); \
(ptr)[3] = (uint8_t)(_x >> 24); \
(ptr)[4] = (uint8_t)(_x >> 32); \
(ptr)[5] = (uint8_t)(_x >> 40); \
(ptr)[6] = (uint8_t)(_x >> 48); \
(ptr)[7] = (uint8_t)(_x >> 56); \
} while (0)

Definition at line 143 of file ascon-util.h.

◆ leftRotate

#define leftRotate (   a,
  bits 
)
Value:
(__extension__ ({ \
uint32_t _temp = (a); \
(_temp << (bits)) | (_temp >> (32 - (bits))); \
}))

Definition at line 269 of file ascon-util.h.

◆ leftRotate1

#define leftRotate1 (   a)    (leftRotate((a), 1))

Definition at line 286 of file ascon-util.h.

◆ leftRotate10

#define leftRotate10 (   a)    (leftRotate((a), 10))

Definition at line 295 of file ascon-util.h.

◆ leftRotate10_16

#define leftRotate10_16 (   a)    (leftRotate_16((a), 10))

Definition at line 657 of file ascon-util.h.

◆ leftRotate10_64

#define leftRotate10_64 (   a)    (leftRotate_64((a), 10))

Definition at line 511 of file ascon-util.h.

◆ leftRotate11

#define leftRotate11 (   a)    (leftRotate((a), 11))

Definition at line 296 of file ascon-util.h.

◆ leftRotate11_16

#define leftRotate11_16 (   a)    (leftRotate_16((a), 11))

Definition at line 658 of file ascon-util.h.

◆ leftRotate11_64

#define leftRotate11_64 (   a)    (leftRotate_64((a), 11))

Definition at line 512 of file ascon-util.h.

◆ leftRotate12

#define leftRotate12 (   a)    (leftRotate((a), 12))

Definition at line 297 of file ascon-util.h.

◆ leftRotate12_16

#define leftRotate12_16 (   a)    (leftRotate_16((a), 12))

Definition at line 659 of file ascon-util.h.

◆ leftRotate12_64

#define leftRotate12_64 (   a)    (leftRotate_64((a), 12))

Definition at line 513 of file ascon-util.h.

◆ leftRotate13

#define leftRotate13 (   a)    (leftRotate((a), 13))

Definition at line 298 of file ascon-util.h.

◆ leftRotate13_16

#define leftRotate13_16 (   a)    (leftRotate_16((a), 13))

Definition at line 660 of file ascon-util.h.

◆ leftRotate13_64

#define leftRotate13_64 (   a)    (leftRotate_64((a), 13))

Definition at line 514 of file ascon-util.h.

◆ leftRotate14

#define leftRotate14 (   a)    (leftRotate((a), 14))

Definition at line 299 of file ascon-util.h.

◆ leftRotate14_16

#define leftRotate14_16 (   a)    (leftRotate_16((a), 14))

Definition at line 661 of file ascon-util.h.

◆ leftRotate14_64

#define leftRotate14_64 (   a)    (leftRotate_64((a), 14))

Definition at line 515 of file ascon-util.h.

◆ leftRotate15

#define leftRotate15 (   a)    (leftRotate((a), 15))

Definition at line 300 of file ascon-util.h.

◆ leftRotate15_16

#define leftRotate15_16 (   a)    (leftRotate_16((a), 15))

Definition at line 662 of file ascon-util.h.

◆ leftRotate15_64

#define leftRotate15_64 (   a)    (leftRotate_64((a), 15))

Definition at line 516 of file ascon-util.h.

◆ leftRotate16

#define leftRotate16 (   a)    (leftRotate((a), 16))

Definition at line 301 of file ascon-util.h.

◆ leftRotate16_64

#define leftRotate16_64 (   a)    (leftRotate_64((a), 16))

Definition at line 517 of file ascon-util.h.

◆ leftRotate17

#define leftRotate17 (   a)    (leftRotate((a), 17))

Definition at line 302 of file ascon-util.h.

◆ leftRotate17_64

#define leftRotate17_64 (   a)    (leftRotate_64((a), 17))

Definition at line 518 of file ascon-util.h.

◆ leftRotate18

#define leftRotate18 (   a)    (leftRotate((a), 18))

Definition at line 303 of file ascon-util.h.

◆ leftRotate18_64

#define leftRotate18_64 (   a)    (leftRotate_64((a), 18))

Definition at line 519 of file ascon-util.h.

◆ leftRotate19

#define leftRotate19 (   a)    (leftRotate((a), 19))

Definition at line 304 of file ascon-util.h.

◆ leftRotate19_64

#define leftRotate19_64 (   a)    (leftRotate_64((a), 19))

Definition at line 520 of file ascon-util.h.

◆ leftRotate1_16

#define leftRotate1_16 (   a)    (leftRotate_16((a), 1))

Definition at line 648 of file ascon-util.h.

◆ leftRotate1_64

#define leftRotate1_64 (   a)    (leftRotate_64((a), 1))

Definition at line 502 of file ascon-util.h.

◆ leftRotate1_8

#define leftRotate1_8 (   a)    (leftRotate_8((a), 1))

Definition at line 698 of file ascon-util.h.

◆ leftRotate2

#define leftRotate2 (   a)    (leftRotate((a), 2))

Definition at line 287 of file ascon-util.h.

◆ leftRotate20

#define leftRotate20 (   a)    (leftRotate((a), 20))

Definition at line 305 of file ascon-util.h.

◆ leftRotate20_64

#define leftRotate20_64 (   a)    (leftRotate_64((a), 20))

Definition at line 521 of file ascon-util.h.

◆ leftRotate21

#define leftRotate21 (   a)    (leftRotate((a), 21))

Definition at line 306 of file ascon-util.h.

◆ leftRotate21_64

#define leftRotate21_64 (   a)    (leftRotate_64((a), 21))

Definition at line 522 of file ascon-util.h.

◆ leftRotate22

#define leftRotate22 (   a)    (leftRotate((a), 22))

Definition at line 307 of file ascon-util.h.

◆ leftRotate22_64

#define leftRotate22_64 (   a)    (leftRotate_64((a), 22))

Definition at line 523 of file ascon-util.h.

◆ leftRotate23

#define leftRotate23 (   a)    (leftRotate((a), 23))

Definition at line 308 of file ascon-util.h.

◆ leftRotate23_64

#define leftRotate23_64 (   a)    (leftRotate_64((a), 23))

Definition at line 524 of file ascon-util.h.

◆ leftRotate24

#define leftRotate24 (   a)    (leftRotate((a), 24))

Definition at line 309 of file ascon-util.h.

◆ leftRotate24_64

#define leftRotate24_64 (   a)    (leftRotate_64((a), 24))

Definition at line 525 of file ascon-util.h.

◆ leftRotate25

#define leftRotate25 (   a)    (leftRotate((a), 25))

Definition at line 310 of file ascon-util.h.

◆ leftRotate25_64

#define leftRotate25_64 (   a)    (leftRotate_64((a), 25))

Definition at line 526 of file ascon-util.h.

◆ leftRotate26

#define leftRotate26 (   a)    (leftRotate((a), 26))

Definition at line 311 of file ascon-util.h.

◆ leftRotate26_64

#define leftRotate26_64 (   a)    (leftRotate_64((a), 26))

Definition at line 527 of file ascon-util.h.

◆ leftRotate27

#define leftRotate27 (   a)    (leftRotate((a), 27))

Definition at line 312 of file ascon-util.h.

◆ leftRotate27_64

#define leftRotate27_64 (   a)    (leftRotate_64((a), 27))

Definition at line 528 of file ascon-util.h.

◆ leftRotate28

#define leftRotate28 (   a)    (leftRotate((a), 28))

Definition at line 313 of file ascon-util.h.

◆ leftRotate28_64

#define leftRotate28_64 (   a)    (leftRotate_64((a), 28))

Definition at line 529 of file ascon-util.h.

◆ leftRotate29

#define leftRotate29 (   a)    (leftRotate((a), 29))

Definition at line 314 of file ascon-util.h.

◆ leftRotate29_64

#define leftRotate29_64 (   a)    (leftRotate_64((a), 29))

Definition at line 530 of file ascon-util.h.

◆ leftRotate2_16

#define leftRotate2_16 (   a)    (leftRotate_16((a), 2))

Definition at line 649 of file ascon-util.h.

◆ leftRotate2_64

#define leftRotate2_64 (   a)    (leftRotate_64((a), 2))

Definition at line 503 of file ascon-util.h.

◆ leftRotate2_8

#define leftRotate2_8 (   a)    (leftRotate_8((a), 2))

Definition at line 699 of file ascon-util.h.

◆ leftRotate3

#define leftRotate3 (   a)    (leftRotate((a), 3))

Definition at line 288 of file ascon-util.h.

◆ leftRotate30

#define leftRotate30 (   a)    (leftRotate((a), 30))

Definition at line 315 of file ascon-util.h.

◆ leftRotate30_64

#define leftRotate30_64 (   a)    (leftRotate_64((a), 30))

Definition at line 531 of file ascon-util.h.

◆ leftRotate31

#define leftRotate31 (   a)    (leftRotate((a), 31))

Definition at line 316 of file ascon-util.h.

◆ leftRotate31_64

#define leftRotate31_64 (   a)    (leftRotate_64((a), 31))

Definition at line 532 of file ascon-util.h.

◆ leftRotate32_64

#define leftRotate32_64 (   a)    (leftRotate_64((a), 32))

Definition at line 533 of file ascon-util.h.

◆ leftRotate33_64

#define leftRotate33_64 (   a)    (leftRotate_64((a), 33))

Definition at line 534 of file ascon-util.h.

◆ leftRotate34_64

#define leftRotate34_64 (   a)    (leftRotate_64((a), 34))

Definition at line 535 of file ascon-util.h.

◆ leftRotate35_64

#define leftRotate35_64 (   a)    (leftRotate_64((a), 35))

Definition at line 536 of file ascon-util.h.

◆ leftRotate36_64

#define leftRotate36_64 (   a)    (leftRotate_64((a), 36))

Definition at line 537 of file ascon-util.h.

◆ leftRotate37_64

#define leftRotate37_64 (   a)    (leftRotate_64((a), 37))

Definition at line 538 of file ascon-util.h.

◆ leftRotate38_64

#define leftRotate38_64 (   a)    (leftRotate_64((a), 38))

Definition at line 539 of file ascon-util.h.

◆ leftRotate39_64

#define leftRotate39_64 (   a)    (leftRotate_64((a), 39))

Definition at line 540 of file ascon-util.h.

◆ leftRotate3_16

#define leftRotate3_16 (   a)    (leftRotate_16((a), 3))

Definition at line 650 of file ascon-util.h.

◆ leftRotate3_64

#define leftRotate3_64 (   a)    (leftRotate_64((a), 3))

Definition at line 504 of file ascon-util.h.

◆ leftRotate3_8

#define leftRotate3_8 (   a)    (leftRotate_8((a), 3))

Definition at line 700 of file ascon-util.h.

◆ leftRotate4

#define leftRotate4 (   a)    (leftRotate((a), 4))

Definition at line 289 of file ascon-util.h.

◆ leftRotate40_64

#define leftRotate40_64 (   a)    (leftRotate_64((a), 40))

Definition at line 541 of file ascon-util.h.

◆ leftRotate41_64

#define leftRotate41_64 (   a)    (leftRotate_64((a), 41))

Definition at line 542 of file ascon-util.h.

◆ leftRotate42_64

#define leftRotate42_64 (   a)    (leftRotate_64((a), 42))

Definition at line 543 of file ascon-util.h.

◆ leftRotate43_64

#define leftRotate43_64 (   a)    (leftRotate_64((a), 43))

Definition at line 544 of file ascon-util.h.

◆ leftRotate44_64

#define leftRotate44_64 (   a)    (leftRotate_64((a), 44))

Definition at line 545 of file ascon-util.h.

◆ leftRotate45_64

#define leftRotate45_64 (   a)    (leftRotate_64((a), 45))

Definition at line 546 of file ascon-util.h.

◆ leftRotate46_64

#define leftRotate46_64 (   a)    (leftRotate_64((a), 46))

Definition at line 547 of file ascon-util.h.

◆ leftRotate47_64

#define leftRotate47_64 (   a)    (leftRotate_64((a), 47))

Definition at line 548 of file ascon-util.h.

◆ leftRotate48_64

#define leftRotate48_64 (   a)    (leftRotate_64((a), 48))

Definition at line 549 of file ascon-util.h.

◆ leftRotate49_64

#define leftRotate49_64 (   a)    (leftRotate_64((a), 49))

Definition at line 550 of file ascon-util.h.

◆ leftRotate4_16

#define leftRotate4_16 (   a)    (leftRotate_16((a), 4))

Definition at line 651 of file ascon-util.h.

◆ leftRotate4_64

#define leftRotate4_64 (   a)    (leftRotate_64((a), 4))

Definition at line 505 of file ascon-util.h.

◆ leftRotate4_8

#define leftRotate4_8 (   a)    (leftRotate_8((a), 4))

Definition at line 701 of file ascon-util.h.

◆ leftRotate5

#define leftRotate5 (   a)    (leftRotate((a), 5))

Definition at line 290 of file ascon-util.h.

◆ leftRotate50_64

#define leftRotate50_64 (   a)    (leftRotate_64((a), 50))

Definition at line 551 of file ascon-util.h.

◆ leftRotate51_64

#define leftRotate51_64 (   a)    (leftRotate_64((a), 51))

Definition at line 552 of file ascon-util.h.

◆ leftRotate52_64

#define leftRotate52_64 (   a)    (leftRotate_64((a), 52))

Definition at line 553 of file ascon-util.h.

◆ leftRotate53_64

#define leftRotate53_64 (   a)    (leftRotate_64((a), 53))

Definition at line 554 of file ascon-util.h.

◆ leftRotate54_64

#define leftRotate54_64 (   a)    (leftRotate_64((a), 54))

Definition at line 555 of file ascon-util.h.

◆ leftRotate55_64

#define leftRotate55_64 (   a)    (leftRotate_64((a), 55))

Definition at line 556 of file ascon-util.h.

◆ leftRotate56_64

#define leftRotate56_64 (   a)    (leftRotate_64((a), 56))

Definition at line 557 of file ascon-util.h.

◆ leftRotate57_64

#define leftRotate57_64 (   a)    (leftRotate_64((a), 57))

Definition at line 558 of file ascon-util.h.

◆ leftRotate58_64

#define leftRotate58_64 (   a)    (leftRotate_64((a), 58))

Definition at line 559 of file ascon-util.h.

◆ leftRotate59_64

#define leftRotate59_64 (   a)    (leftRotate_64((a), 59))

Definition at line 560 of file ascon-util.h.

◆ leftRotate5_16

#define leftRotate5_16 (   a)    (leftRotate_16((a), 5))

Definition at line 652 of file ascon-util.h.

◆ leftRotate5_64

#define leftRotate5_64 (   a)    (leftRotate_64((a), 5))

Definition at line 506 of file ascon-util.h.

◆ leftRotate5_8

#define leftRotate5_8 (   a)    (leftRotate_8((a), 5))

Definition at line 702 of file ascon-util.h.

◆ leftRotate6

#define leftRotate6 (   a)    (leftRotate((a), 6))

Definition at line 291 of file ascon-util.h.

◆ leftRotate60_64

#define leftRotate60_64 (   a)    (leftRotate_64((a), 60))

Definition at line 561 of file ascon-util.h.

◆ leftRotate61_64

#define leftRotate61_64 (   a)    (leftRotate_64((a), 61))

Definition at line 562 of file ascon-util.h.

◆ leftRotate62_64

#define leftRotate62_64 (   a)    (leftRotate_64((a), 62))

Definition at line 563 of file ascon-util.h.

◆ leftRotate63_64

#define leftRotate63_64 (   a)    (leftRotate_64((a), 63))

Definition at line 564 of file ascon-util.h.

◆ leftRotate6_16

#define leftRotate6_16 (   a)    (leftRotate_16((a), 6))

Definition at line 653 of file ascon-util.h.

◆ leftRotate6_64

#define leftRotate6_64 (   a)    (leftRotate_64((a), 6))

Definition at line 507 of file ascon-util.h.

◆ leftRotate6_8

#define leftRotate6_8 (   a)    (leftRotate_8((a), 6))

Definition at line 703 of file ascon-util.h.

◆ leftRotate7

#define leftRotate7 (   a)    (leftRotate((a), 7))

Definition at line 292 of file ascon-util.h.

◆ leftRotate7_16

#define leftRotate7_16 (   a)    (leftRotate_16((a), 7))

Definition at line 654 of file ascon-util.h.

◆ leftRotate7_64

#define leftRotate7_64 (   a)    (leftRotate_64((a), 7))

Definition at line 508 of file ascon-util.h.

◆ leftRotate7_8

#define leftRotate7_8 (   a)    (leftRotate_8((a), 7))

Definition at line 704 of file ascon-util.h.

◆ leftRotate8

#define leftRotate8 (   a)    (leftRotate((a), 8))

Definition at line 293 of file ascon-util.h.

◆ leftRotate8_16

#define leftRotate8_16 (   a)    (leftRotate_16((a), 8))

Definition at line 655 of file ascon-util.h.

◆ leftRotate8_64

#define leftRotate8_64 (   a)    (leftRotate_64((a), 8))

Definition at line 509 of file ascon-util.h.

◆ leftRotate9

#define leftRotate9 (   a)    (leftRotate((a), 9))

Definition at line 294 of file ascon-util.h.

◆ leftRotate9_16

#define leftRotate9_16 (   a)    (leftRotate_16((a), 9))

Definition at line 656 of file ascon-util.h.

◆ leftRotate9_64

#define leftRotate9_64 (   a)    (leftRotate_64((a), 9))

Definition at line 510 of file ascon-util.h.

◆ leftRotate_16

#define leftRotate_16 (   a,
  bits 
)
Value:
(__extension__ ({ \
uint16_t _temp = (a); \
(_temp << (bits)) | (_temp >> (16 - (bits))); \
}))

Definition at line 633 of file ascon-util.h.

◆ leftRotate_64

#define leftRotate_64 (   a,
  bits 
)
Value:
(__extension__ ({ \
uint64_t _temp = (a); \
(_temp << (bits)) | (_temp >> (64 - (bits))); \
}))

Definition at line 487 of file ascon-util.h.

◆ leftRotate_8

#define leftRotate_8 (   a,
  bits 
)
Value:
(__extension__ ({ \
uint8_t _temp = (a); \
(_temp << (bits)) | (_temp >> (8 - (bits))); \
}))

Definition at line 683 of file ascon-util.h.

◆ LW_CRYPTO_ROTATE32_COMPOSED

#define LW_CRYPTO_ROTATE32_COMPOSED   0

Definition at line 263 of file ascon-util.h.

◆ lw_xor_block

#define lw_xor_block (   dest,
  src,
  len 
)
Value:
do { \
unsigned char *_dest = (dest); \
const unsigned char *_src = (src); \
unsigned _len = (len); \
while (_len > 0) { \
*_dest++ ^= *_src++; \
--_len; \
} \
} while (0)

Definition at line 183 of file ascon-util.h.

◆ lw_xor_block_2_dest

#define lw_xor_block_2_dest (   dest2,
  dest,
  src,
  len 
)
Value:
do { \
unsigned char *_dest2 = (dest2); \
unsigned char *_dest = (dest); \
const unsigned char *_src = (src); \
unsigned _len = (len); \
while (_len > 0) { \
*_dest2++ = (*_dest++ ^= *_src++); \
--_len; \
} \
} while (0)

Definition at line 209 of file ascon-util.h.

◆ lw_xor_block_2_src

#define lw_xor_block_2_src (   dest,
  src1,
  src2,
  len 
)
Value:
do { \
unsigned char *_dest = (dest); \
const unsigned char *_src1 = (src1); \
const unsigned char *_src2 = (src2); \
unsigned _len = (len); \
while (_len > 0) { \
*_dest++ = *_src1++ ^ *_src2++; \
--_len; \
} \
} while (0)

Definition at line 195 of file ascon-util.h.

◆ lw_xor_block_copy_src

#define lw_xor_block_copy_src (   dest2,
  dest,
  src1,
  src2,
  len 
)
Value:
do { \
unsigned char *_dest2 = (dest2); \
unsigned char *_dest = (dest); \
const unsigned char *_src1 = (src1); \
const unsigned char *_src2 = (src2); \
unsigned _len = (len); \
while (_len > 0) { \
unsigned char _temp = *_src2++; \
*_dest2++ = _temp; \
*_dest++ = *_src1++ ^ _temp; \
--_len; \
} \
} while (0)

Definition at line 223 of file ascon-util.h.

◆ lw_xor_block_swap

#define lw_xor_block_swap (   dest2,
  dest,
  src,
  len 
)
Value:
do { \
unsigned char *_dest2 = (dest2); \
unsigned char *_dest = (dest); \
const unsigned char *_src = (src); \
unsigned _len = (len); \
while (_len > 0) { \
unsigned char _temp = *_src++; \
*_dest2++ = *_dest ^ _temp; \
*_dest++ = _temp; \
--_len; \
} \
} while (0)

Definition at line 241 of file ascon-util.h.

◆ reverse_word32

#define reverse_word32 (   x)
Value:
(((x) >> 24) | (((x) >> 8) & 0x0000FF00U) | \
(((x) << 8) & 0x00FF0000U) | ((x) << 24))

Definition at line 102 of file ascon-util.h.

◆ rightRotate

#define rightRotate (   a,
  bits 
)
Value:
(__extension__ ({ \
uint32_t _temp = (a); \
(_temp >> (bits)) | (_temp << (32 - (bits))); \
}))

Definition at line 276 of file ascon-util.h.

◆ rightRotate1

#define rightRotate1 (   a)    (rightRotate((a), 1))

Definition at line 320 of file ascon-util.h.

◆ rightRotate10

#define rightRotate10 (   a)    (rightRotate((a), 10))

Definition at line 329 of file ascon-util.h.

◆ rightRotate10_16

#define rightRotate10_16 (   a)    (rightRotate_16((a), 10))

Definition at line 675 of file ascon-util.h.

◆ rightRotate10_64

#define rightRotate10_64 (   a)    (rightRotate_64((a), 10))

Definition at line 577 of file ascon-util.h.

◆ rightRotate11

#define rightRotate11 (   a)    (rightRotate((a), 11))

Definition at line 330 of file ascon-util.h.

◆ rightRotate11_16

#define rightRotate11_16 (   a)    (rightRotate_16((a), 11))

Definition at line 676 of file ascon-util.h.

◆ rightRotate11_64

#define rightRotate11_64 (   a)    (rightRotate_64((a), 11))

Definition at line 578 of file ascon-util.h.

◆ rightRotate12

#define rightRotate12 (   a)    (rightRotate((a), 12))

Definition at line 331 of file ascon-util.h.

◆ rightRotate12_16

#define rightRotate12_16 (   a)    (rightRotate_16((a), 12))

Definition at line 677 of file ascon-util.h.

◆ rightRotate12_64

#define rightRotate12_64 (   a)    (rightRotate_64((a), 12))

Definition at line 579 of file ascon-util.h.

◆ rightRotate13

#define rightRotate13 (   a)    (rightRotate((a), 13))

Definition at line 332 of file ascon-util.h.

◆ rightRotate13_16

#define rightRotate13_16 (   a)    (rightRotate_16((a), 13))

Definition at line 678 of file ascon-util.h.

◆ rightRotate13_64

#define rightRotate13_64 (   a)    (rightRotate_64((a), 13))

Definition at line 580 of file ascon-util.h.

◆ rightRotate14

#define rightRotate14 (   a)    (rightRotate((a), 14))

Definition at line 333 of file ascon-util.h.

◆ rightRotate14_16

#define rightRotate14_16 (   a)    (rightRotate_16((a), 14))

Definition at line 679 of file ascon-util.h.

◆ rightRotate14_64

#define rightRotate14_64 (   a)    (rightRotate_64((a), 14))

Definition at line 581 of file ascon-util.h.

◆ rightRotate15

#define rightRotate15 (   a)    (rightRotate((a), 15))

Definition at line 334 of file ascon-util.h.

◆ rightRotate15_16

#define rightRotate15_16 (   a)    (rightRotate_16((a), 15))

Definition at line 680 of file ascon-util.h.

◆ rightRotate15_64

#define rightRotate15_64 (   a)    (rightRotate_64((a), 15))

Definition at line 582 of file ascon-util.h.

◆ rightRotate16

#define rightRotate16 (   a)    (rightRotate((a), 16))

Definition at line 335 of file ascon-util.h.

◆ rightRotate16_64

#define rightRotate16_64 (   a)    (rightRotate_64((a), 16))

Definition at line 583 of file ascon-util.h.

◆ rightRotate17

#define rightRotate17 (   a)    (rightRotate((a), 17))

Definition at line 336 of file ascon-util.h.

◆ rightRotate17_64

#define rightRotate17_64 (   a)    (rightRotate_64((a), 17))

Definition at line 584 of file ascon-util.h.

◆ rightRotate18

#define rightRotate18 (   a)    (rightRotate((a), 18))

Definition at line 337 of file ascon-util.h.

◆ rightRotate18_64

#define rightRotate18_64 (   a)    (rightRotate_64((a), 18))

Definition at line 585 of file ascon-util.h.

◆ rightRotate19

#define rightRotate19 (   a)    (rightRotate((a), 19))

Definition at line 338 of file ascon-util.h.

◆ rightRotate19_64

#define rightRotate19_64 (   a)    (rightRotate_64((a), 19))

Definition at line 586 of file ascon-util.h.

◆ rightRotate1_16

#define rightRotate1_16 (   a)    (rightRotate_16((a), 1))

Definition at line 666 of file ascon-util.h.

◆ rightRotate1_64

#define rightRotate1_64 (   a)    (rightRotate_64((a), 1))

Definition at line 568 of file ascon-util.h.

◆ rightRotate1_8

#define rightRotate1_8 (   a)    (rightRotate_8((a), 1))

Definition at line 708 of file ascon-util.h.

◆ rightRotate2

#define rightRotate2 (   a)    (rightRotate((a), 2))

Definition at line 321 of file ascon-util.h.

◆ rightRotate20

#define rightRotate20 (   a)    (rightRotate((a), 20))

Definition at line 339 of file ascon-util.h.

◆ rightRotate20_64

#define rightRotate20_64 (   a)    (rightRotate_64((a), 20))

Definition at line 587 of file ascon-util.h.

◆ rightRotate21

#define rightRotate21 (   a)    (rightRotate((a), 21))

Definition at line 340 of file ascon-util.h.

◆ rightRotate21_64

#define rightRotate21_64 (   a)    (rightRotate_64((a), 21))

Definition at line 588 of file ascon-util.h.

◆ rightRotate22

#define rightRotate22 (   a)    (rightRotate((a), 22))

Definition at line 341 of file ascon-util.h.

◆ rightRotate22_64

#define rightRotate22_64 (   a)    (rightRotate_64((a), 22))

Definition at line 589 of file ascon-util.h.

◆ rightRotate23

#define rightRotate23 (   a)    (rightRotate((a), 23))

Definition at line 342 of file ascon-util.h.

◆ rightRotate23_64

#define rightRotate23_64 (   a)    (rightRotate_64((a), 23))

Definition at line 590 of file ascon-util.h.

◆ rightRotate24

#define rightRotate24 (   a)    (rightRotate((a), 24))

Definition at line 343 of file ascon-util.h.

◆ rightRotate24_64

#define rightRotate24_64 (   a)    (rightRotate_64((a), 24))

Definition at line 591 of file ascon-util.h.

◆ rightRotate25

#define rightRotate25 (   a)    (rightRotate((a), 25))

Definition at line 344 of file ascon-util.h.

◆ rightRotate25_64

#define rightRotate25_64 (   a)    (rightRotate_64((a), 25))

Definition at line 592 of file ascon-util.h.

◆ rightRotate26

#define rightRotate26 (   a)    (rightRotate((a), 26))

Definition at line 345 of file ascon-util.h.

◆ rightRotate26_64

#define rightRotate26_64 (   a)    (rightRotate_64((a), 26))

Definition at line 593 of file ascon-util.h.

◆ rightRotate27

#define rightRotate27 (   a)    (rightRotate((a), 27))

Definition at line 346 of file ascon-util.h.

◆ rightRotate27_64

#define rightRotate27_64 (   a)    (rightRotate_64((a), 27))

Definition at line 594 of file ascon-util.h.

◆ rightRotate28

#define rightRotate28 (   a)    (rightRotate((a), 28))

Definition at line 347 of file ascon-util.h.

◆ rightRotate28_64

#define rightRotate28_64 (   a)    (rightRotate_64((a), 28))

Definition at line 595 of file ascon-util.h.

◆ rightRotate29

#define rightRotate29 (   a)    (rightRotate((a), 29))

Definition at line 348 of file ascon-util.h.

◆ rightRotate29_64

#define rightRotate29_64 (   a)    (rightRotate_64((a), 29))

Definition at line 596 of file ascon-util.h.

◆ rightRotate2_16

#define rightRotate2_16 (   a)    (rightRotate_16((a), 2))

Definition at line 667 of file ascon-util.h.

◆ rightRotate2_64

#define rightRotate2_64 (   a)    (rightRotate_64((a), 2))

Definition at line 569 of file ascon-util.h.

◆ rightRotate2_8

#define rightRotate2_8 (   a)    (rightRotate_8((a), 2))

Definition at line 709 of file ascon-util.h.

◆ rightRotate3

#define rightRotate3 (   a)    (rightRotate((a), 3))

Definition at line 322 of file ascon-util.h.

◆ rightRotate30

#define rightRotate30 (   a)    (rightRotate((a), 30))

Definition at line 349 of file ascon-util.h.

◆ rightRotate30_64

#define rightRotate30_64 (   a)    (rightRotate_64((a), 30))

Definition at line 597 of file ascon-util.h.

◆ rightRotate31

#define rightRotate31 (   a)    (rightRotate((a), 31))

Definition at line 350 of file ascon-util.h.

◆ rightRotate31_64

#define rightRotate31_64 (   a)    (rightRotate_64((a), 31))

Definition at line 598 of file ascon-util.h.

◆ rightRotate32_64

#define rightRotate32_64 (   a)    (rightRotate_64((a), 32))

Definition at line 599 of file ascon-util.h.

◆ rightRotate33_64

#define rightRotate33_64 (   a)    (rightRotate_64((a), 33))

Definition at line 600 of file ascon-util.h.

◆ rightRotate34_64

#define rightRotate34_64 (   a)    (rightRotate_64((a), 34))

Definition at line 601 of file ascon-util.h.

◆ rightRotate35_64

#define rightRotate35_64 (   a)    (rightRotate_64((a), 35))

Definition at line 602 of file ascon-util.h.

◆ rightRotate36_64

#define rightRotate36_64 (   a)    (rightRotate_64((a), 36))

Definition at line 603 of file ascon-util.h.

◆ rightRotate37_64

#define rightRotate37_64 (   a)    (rightRotate_64((a), 37))

Definition at line 604 of file ascon-util.h.

◆ rightRotate38_64

#define rightRotate38_64 (   a)    (rightRotate_64((a), 38))

Definition at line 605 of file ascon-util.h.

◆ rightRotate39_64

#define rightRotate39_64 (   a)    (rightRotate_64((a), 39))

Definition at line 606 of file ascon-util.h.

◆ rightRotate3_16

#define rightRotate3_16 (   a)    (rightRotate_16((a), 3))

Definition at line 668 of file ascon-util.h.

◆ rightRotate3_64

#define rightRotate3_64 (   a)    (rightRotate_64((a), 3))

Definition at line 570 of file ascon-util.h.

◆ rightRotate3_8

#define rightRotate3_8 (   a)    (rightRotate_8((a), 3))

Definition at line 710 of file ascon-util.h.

◆ rightRotate4

#define rightRotate4 (   a)    (rightRotate((a), 4))

Definition at line 323 of file ascon-util.h.

◆ rightRotate40_64

#define rightRotate40_64 (   a)    (rightRotate_64((a), 40))

Definition at line 607 of file ascon-util.h.

◆ rightRotate41_64

#define rightRotate41_64 (   a)    (rightRotate_64((a), 41))

Definition at line 608 of file ascon-util.h.

◆ rightRotate42_64

#define rightRotate42_64 (   a)    (rightRotate_64((a), 42))

Definition at line 609 of file ascon-util.h.

◆ rightRotate43_64

#define rightRotate43_64 (   a)    (rightRotate_64((a), 43))

Definition at line 610 of file ascon-util.h.

◆ rightRotate44_64

#define rightRotate44_64 (   a)    (rightRotate_64((a), 44))

Definition at line 611 of file ascon-util.h.

◆ rightRotate45_64

#define rightRotate45_64 (   a)    (rightRotate_64((a), 45))

Definition at line 612 of file ascon-util.h.

◆ rightRotate46_64

#define rightRotate46_64 (   a)    (rightRotate_64((a), 46))

Definition at line 613 of file ascon-util.h.

◆ rightRotate47_64

#define rightRotate47_64 (   a)    (rightRotate_64((a), 47))

Definition at line 614 of file ascon-util.h.

◆ rightRotate48_64

#define rightRotate48_64 (   a)    (rightRotate_64((a), 48))

Definition at line 615 of file ascon-util.h.

◆ rightRotate49_64

#define rightRotate49_64 (   a)    (rightRotate_64((a), 49))

Definition at line 616 of file ascon-util.h.

◆ rightRotate4_16

#define rightRotate4_16 (   a)    (rightRotate_16((a), 4))

Definition at line 669 of file ascon-util.h.

◆ rightRotate4_64

#define rightRotate4_64 (   a)    (rightRotate_64((a), 4))

Definition at line 571 of file ascon-util.h.

◆ rightRotate4_8

#define rightRotate4_8 (   a)    (rightRotate_8((a), 4))

Definition at line 711 of file ascon-util.h.

◆ rightRotate5

#define rightRotate5 (   a)    (rightRotate((a), 5))

Definition at line 324 of file ascon-util.h.

◆ rightRotate50_64

#define rightRotate50_64 (   a)    (rightRotate_64((a), 50))

Definition at line 617 of file ascon-util.h.

◆ rightRotate51_64

#define rightRotate51_64 (   a)    (rightRotate_64((a), 51))

Definition at line 618 of file ascon-util.h.

◆ rightRotate52_64

#define rightRotate52_64 (   a)    (rightRotate_64((a), 52))

Definition at line 619 of file ascon-util.h.

◆ rightRotate53_64

#define rightRotate53_64 (   a)    (rightRotate_64((a), 53))

Definition at line 620 of file ascon-util.h.

◆ rightRotate54_64

#define rightRotate54_64 (   a)    (rightRotate_64((a), 54))

Definition at line 621 of file ascon-util.h.

◆ rightRotate55_64

#define rightRotate55_64 (   a)    (rightRotate_64((a), 55))

Definition at line 622 of file ascon-util.h.

◆ rightRotate56_64

#define rightRotate56_64 (   a)    (rightRotate_64((a), 56))

Definition at line 623 of file ascon-util.h.

◆ rightRotate57_64

#define rightRotate57_64 (   a)    (rightRotate_64((a), 57))

Definition at line 624 of file ascon-util.h.

◆ rightRotate58_64

#define rightRotate58_64 (   a)    (rightRotate_64((a), 58))

Definition at line 625 of file ascon-util.h.

◆ rightRotate59_64

#define rightRotate59_64 (   a)    (rightRotate_64((a), 59))

Definition at line 626 of file ascon-util.h.

◆ rightRotate5_16

#define rightRotate5_16 (   a)    (rightRotate_16((a), 5))

Definition at line 670 of file ascon-util.h.

◆ rightRotate5_64

#define rightRotate5_64 (   a)    (rightRotate_64((a), 5))

Definition at line 572 of file ascon-util.h.

◆ rightRotate5_8

#define rightRotate5_8 (   a)    (rightRotate_8((a), 5))

Definition at line 712 of file ascon-util.h.

◆ rightRotate6

#define rightRotate6 (   a)    (rightRotate((a), 6))

Definition at line 325 of file ascon-util.h.

◆ rightRotate60_64

#define rightRotate60_64 (   a)    (rightRotate_64((a), 60))

Definition at line 627 of file ascon-util.h.

◆ rightRotate61_64

#define rightRotate61_64 (   a)    (rightRotate_64((a), 61))

Definition at line 628 of file ascon-util.h.

◆ rightRotate62_64

#define rightRotate62_64 (   a)    (rightRotate_64((a), 62))

Definition at line 629 of file ascon-util.h.

◆ rightRotate63_64

#define rightRotate63_64 (   a)    (rightRotate_64((a), 63))

Definition at line 630 of file ascon-util.h.

◆ rightRotate6_16

#define rightRotate6_16 (   a)    (rightRotate_16((a), 6))

Definition at line 671 of file ascon-util.h.

◆ rightRotate6_64

#define rightRotate6_64 (   a)    (rightRotate_64((a), 6))

Definition at line 573 of file ascon-util.h.

◆ rightRotate6_8

#define rightRotate6_8 (   a)    (rightRotate_8((a), 6))

Definition at line 713 of file ascon-util.h.

◆ rightRotate7

#define rightRotate7 (   a)    (rightRotate((a), 7))

Definition at line 326 of file ascon-util.h.

◆ rightRotate7_16

#define rightRotate7_16 (   a)    (rightRotate_16((a), 7))

Definition at line 672 of file ascon-util.h.

◆ rightRotate7_64

#define rightRotate7_64 (   a)    (rightRotate_64((a), 7))

Definition at line 574 of file ascon-util.h.

◆ rightRotate7_8

#define rightRotate7_8 (   a)    (rightRotate_8((a), 7))

Definition at line 714 of file ascon-util.h.

◆ rightRotate8

#define rightRotate8 (   a)    (rightRotate((a), 8))

Definition at line 327 of file ascon-util.h.

◆ rightRotate8_16

#define rightRotate8_16 (   a)    (rightRotate_16((a), 8))

Definition at line 673 of file ascon-util.h.

◆ rightRotate8_64

#define rightRotate8_64 (   a)    (rightRotate_64((a), 8))

Definition at line 575 of file ascon-util.h.

◆ rightRotate9

#define rightRotate9 (   a)    (rightRotate((a), 9))

Definition at line 328 of file ascon-util.h.

◆ rightRotate9_16

#define rightRotate9_16 (   a)    (rightRotate_16((a), 9))

Definition at line 674 of file ascon-util.h.

◆ rightRotate9_64

#define rightRotate9_64 (   a)    (rightRotate_64((a), 9))

Definition at line 576 of file ascon-util.h.

◆ rightRotate_16

#define rightRotate_16 (   a,
  bits 
)
Value:
(__extension__ ({ \
uint16_t _temp = (a); \
(_temp >> (bits)) | (_temp << (16 - (bits))); \
}))

Definition at line 640 of file ascon-util.h.

◆ rightRotate_64

#define rightRotate_64 (   a,
  bits 
)
Value:
(__extension__ ({ \
uint64_t _temp = (a); \
(_temp >> (bits)) | (_temp << (64 - (bits))); \
}))

Definition at line 494 of file ascon-util.h.

◆ rightRotate_8

#define rightRotate_8 (   a,
  bits 
)
Value:
(__extension__ ({ \
uint8_t _temp = (a); \
(_temp >> (bits)) | (_temp << (8 - (bits))); \
}))

Definition at line 690 of file ascon-util.h.

◆ STATIC_INLINE

#define STATIC_INLINE   static

Definition at line 35 of file ascon-util.h.