xmss-KAT-generator/utils.h

16 行
399 B
C
Raw 通常表示 履歴

#ifndef XMSS_UTILS_H
#define XMSS_UTILS_H
/**
* Converts the value of 'in' to 'outlen' bytes in big-endian byte order.
*/
void ull_to_bytes(unsigned char *out, unsigned int outlen,
unsigned long long in);
/**
* Converts the inlen bytes in 'in' from big-endian byte order to an integer.
*/
unsigned long long bytes_to_ull(const unsigned char *in, unsigned int inlen);
#endif