randombytes_internal_random.h 449 B

12345678910111213141516171819202122
  1. #ifndef randombytes_internal_random_H
  2. #define randombytes_internal_random_H
  3. #include "export.h"
  4. #include "randombytes.h"
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. SODIUM_EXPORT
  9. extern struct randombytes_implementation randombytes_internal_implementation;
  10. /* Backwards compatibility with libsodium < 1.0.18 */
  11. #define randombytes_salsa20_implementation randombytes_internal_implementation
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif