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.
 
 
 
 
 

19 lines
753 B

  1. /**
  2. * Master header for Decaf library.
  3. *
  4. * The Decaf library implements cryptographic operations on a elliptic curve
  5. * groups of prime order p. It accomplishes this by using a twisted Edwards
  6. * curve (isogenous to Ed448-Goldilocks or Ed25519) and wiping out the cofactor.
  7. *
  8. * The formulas are all complete and have no special cases. However, some
  9. * functions can fail. For example, decoding functions can fail because not
  10. * every string is the encoding of a valid group element.
  11. *
  12. * The formulas contain no data-dependent branches, timing or memory accesses,
  13. * except for decaf_XXX_base_double_scalarmul_non_secret.
  14. */
  15. $("\n".join([
  16. "#include <decaf/point_%s.h>" % g for g in sorted([c["bits"] for _,c in curve.iteritems()])
  17. ]))