Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819
  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