14#define ROLx( data, rotation ) \
15 ( ( (data) << (rotation) ) | \
16 ( (data) >> ( ( 8 * sizeof (data) ) - (rotation) ) ) );
18#define RORx( data, rotation ) \
19 ( ( (data) >> (rotation) ) | \
20 ( (data) << ( ( 8 * sizeof (data) ) - (rotation) ) ) );
unsigned long long uint64_t
uint8_t data[48]
Additional event data.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
static unsigned int rotation
#define ROLx(data, rotation)
#define RORx(data, rotation)
static u32 ror32(u32 v, int bits)
Rotate 32-bit value right.
static u16 ror16(u16 v, int bits)
Rotate 16-bit value right.
static u32 rol32(u32 v, int bits)
Rotate 32-bit value left.