/* * cilipadi.h * * Created on: 25 Feb 2019 * Author: mrz */#ifndef CILIPADI128V1_REF_CILIPADI_H_#define CILIPADI128V1_REF_CILIPADI_H_#define BYTERATE 12 // bitrate in bytes#define AROUNDS 18 // number of rounds for P_{a,n}#define BROUNDS 16 // number of rounds for P_{b,n}#define STATELEN 48 // state size in bytes//#define DEBUGintpermutation_256(unsignedchar*state,introunds);intpermutation_384(unsignedchar*state,introunds);intf_function(unsignedchar*x,intl,intpround);intxor_bytes(unsignedchar*x,constunsignedchar*y,intlen);#endif /* CILIPADI128V1_REF_CILIPADI_H_ */