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.
 
 
 
 
 

17 lines
433 B

  1. /**
  2. * EdDSA crypto routines, metaheader.
  3. */
  4. /** Namespace for all libdecaf C++ objects. */
  5. namespace decaf {
  6. /** How signatures handle hashing. */
  7. enum Prehashed {
  8. PURE, /**< Sign the message itself. This can't be done in one pass. */
  9. PREHASHED /**< Sign the hash of the message. */
  10. };
  11. }
  12. $("\n".join([
  13. "#include <decaf/ed%s.hxx>" % g for g in sorted([c["bits"] for _,c in curve.items()])
  14. ]))