crypto_core_hsalsa20.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. #ifndef crypto_core_hsalsa20_H
  2. #define crypto_core_hsalsa20_H
  3. #define crypto_core_hsalsa20_ref_OUTPUTBYTES 32
  4. #define crypto_core_hsalsa20_ref_INPUTBYTES 16
  5. #define crypto_core_hsalsa20_ref_KEYBYTES 32
  6. #define crypto_core_hsalsa20_ref_CONSTBYTES 16
  7. #ifdef __cplusplus
  8. #include <string>
  9. extern "C" {
  10. #endif
  11. extern int crypto_core_hsalsa20_ref(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #define crypto_core_hsalsa20 crypto_core_hsalsa20_ref
  16. #define crypto_core_hsalsa20_OUTPUTBYTES crypto_core_hsalsa20_ref_OUTPUTBYTES
  17. #define crypto_core_hsalsa20_INPUTBYTES crypto_core_hsalsa20_ref_INPUTBYTES
  18. #define crypto_core_hsalsa20_KEYBYTES crypto_core_hsalsa20_ref_KEYBYTES
  19. #define crypto_core_hsalsa20_CONSTBYTES crypto_core_hsalsa20_ref_CONSTBYTES
  20. #define crypto_core_hsalsa20_IMPLEMENTATION "crypto_core/hsalsa20/ref"
  21. #ifndef crypto_core_hsalsa20_ref_VERSION
  22. #define crypto_core_hsalsa20_ref_VERSION "-"
  23. #endif
  24. #define crypto_core_hsalsa20_VERSION crypto_core_hsalsa20_ref_VERSION
  25. #endif