giftb128.h 316 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef GIFT128_H_
#define GIFT128_H_

#define KEY_SIZE    16
#define GIFT128_BLOCK_SIZE  16

typedef unsigned char u8;
typedef unsigned int u32;

extern void gift128_keyschedule(const u8* key, u32* rkey);
extern void giftb128_encrypt_block(u8* out_block, const u32* rkey, const u8* in_block);

#endif  // GIFT128_H_