您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415
  1. #ifndef XMSS_UTILS_H
  2. #define XMSS_UTILS_H
  3. /**
  4. * Converts the value of 'in' to 'outlen' bytes in big-endian byte order.
  5. */
  6. void ull_to_bytes(unsigned char *out, unsigned int outlen,
  7. unsigned long long in);
  8. /**
  9. * Converts the inlen bytes in 'in' from big-endian byte order to an integer.
  10. */
  11. unsigned long long bytes_to_ull(const unsigned char *in, unsigned int inlen);
  12. #endif