/* Spook Reference Implementation v1 * * Written in 2019 at UCLouvain (Belgium) by Olivier Bronchain, Gaetan Cassiers * and Charles Momin. * To the extent possible under law, the author(s) have dedicated all copyright * and related and neighboring rights to this software to the public domain * worldwide. This software is distributed without any warranty. * * You should have received a copy of the CC0 Public Domain Dedication along with * this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. */#ifndef _H_UTILS_H_#define _H_UTILS_H_#include <stdint.h>voidxor_bytes(unsignedchar*dest,constunsignedchar*src1,constunsignedchar*src2,unsignedlonglongn);uint32_trotr(uint32_tx,unsignedintc);uint32_tle32u_dec(constunsignedcharbytes[4]);voidle32u_enc(unsignedcharbytes[4],uint32_tx);#endif // _H_UTILS_H_