選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

20 行
625 B

  1. #ifndef XMSS_FIPS202_H
  2. #define XMSS_FIPS202_H
  3. #define SHAKE128_RATE 168
  4. #define SHAKE256_RATE 136
  5. /* Evaluates SHAKE-128 on `inlen' bytes in `in', according to FIPS-202.
  6. * Writes the first `outlen` bytes of output to `out`.
  7. */
  8. void shake128(unsigned char *out, unsigned long long outlen,
  9. const unsigned char *in, unsigned long long inlen);
  10. /* Evaluates SHAKE-256 on `inlen' bytes in `in', according to FIPS-202.
  11. * Writes the first `outlen` bytes of output to `out`.
  12. */
  13. void shake256(unsigned char *out, unsigned long long outlen,
  14. const unsigned char *in, unsigned long long inlen);
  15. #endif