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.
 
 
 
 
 

33 lines
998 B

  1. /**
  2. * @file decaf.h
  3. * @author Mike Hamburg
  4. *
  5. * @copyright
  6. * Copyright (c) 2015 Cryptography Research, Inc. \n
  7. * Released under the MIT License. See LICENSE.txt for license information.
  8. *
  9. * @brief Master header for Decaf library.
  10. *
  11. * The Decaf library implements cryptographic operations on a elliptic curve
  12. * groups of prime order p. It accomplishes this by using a twisted Edwards
  13. * curve (isogenous to Ed448-Goldilocks or Ed25519) and wiping out the cofactor.
  14. *
  15. * The formulas are all complete and have no special cases. However, some
  16. * functions can fail. For example, decoding functions can fail because not
  17. * every string is the encoding of a valid group element.
  18. *
  19. * The formulas contain no data-dependent branches, timing or memory accesses,
  20. * except for decaf_XXX_base_double_scalarmul_non_secret.
  21. */
  22. #ifndef __DECAF_H__
  23. #define __DECAF_H__ 1
  24. #include <stdint.h>
  25. #include <sys/types.h>
  26. #include "decaf_255.h"
  27. #include "decaf_448.h"
  28. #endif /* __DECAF_H__ */