crypto_box.h 1.2 KB

12345678910111213141516171819202122
  1. #ifndef crypto_box_H
  2. #define crypto_box_H
  3. #include "crypto_box_curve25519xsalsa20poly1305.h"
  4. #define crypto_box crypto_box_curve25519xsalsa20poly1305
  5. #define crypto_box_open crypto_box_curve25519xsalsa20poly1305_open
  6. #define crypto_box_keypair crypto_box_curve25519xsalsa20poly1305_keypair
  7. #define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm
  8. #define crypto_box_afternm crypto_box_curve25519xsalsa20poly1305_afternm
  9. #define crypto_box_open_afternm crypto_box_curve25519xsalsa20poly1305_open_afternm
  10. #define crypto_box_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES
  11. #define crypto_box_SECRETKEYBYTES crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES
  12. #define crypto_box_BEFORENMBYTES crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES
  13. #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
  14. #define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
  15. #define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
  16. #define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
  17. #define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
  18. #define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
  19. #endif