16 satır
399 B
C
16 satır
399 B
C
#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
|