You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
370 B

  1. /*
  2. a custom hash must have a 512bit digest and implement:
  3. struct ed25519_hash_context;
  4. void ed25519_hash_init(ed25519_hash_context *ctx);
  5. void ed25519_hash_update(ed25519_hash_context *ctx, const uint8_t *in, size_t inlen);
  6. void ed25519_hash_final(ed25519_hash_context *ctx, uint8_t *hash);
  7. void ed25519_hash(uint8_t *hash, const uint8_t *in, size_t inlen);
  8. */