Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

fips202.h 625 B

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