crypto_onetimeauth_poly1305.h 1.3 KB

12345678910111213141516171819202122232425262728
  1. #ifndef crypto_onetimeauth_poly1305_H
  2. #define crypto_onetimeauth_poly1305_H
  3. #define crypto_onetimeauth_poly1305_53_BYTES 16
  4. #define crypto_onetimeauth_poly1305_53_KEYBYTES 32
  5. #ifdef __cplusplus
  6. #include <string>
  7. extern std::string crypto_onetimeauth_poly1305_53(const std::string &,const std::string &);
  8. extern void crypto_onetimeauth_poly1305_53_verify(const std::string &,const std::string &,const std::string &);
  9. extern "C" {
  10. #endif
  11. extern int crypto_onetimeauth_poly1305_53(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
  12. extern int crypto_onetimeauth_poly1305_53_verify(const unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #define crypto_onetimeauth_poly1305 crypto_onetimeauth_poly1305_53
  17. #define crypto_onetimeauth_poly1305_verify crypto_onetimeauth_poly1305_53_verify
  18. #define crypto_onetimeauth_poly1305_BYTES crypto_onetimeauth_poly1305_53_BYTES
  19. #define crypto_onetimeauth_poly1305_KEYBYTES crypto_onetimeauth_poly1305_53_KEYBYTES
  20. #define crypto_onetimeauth_poly1305_IMPLEMENTATION "crypto_onetimeauth/poly1305/53"
  21. #ifndef crypto_onetimeauth_poly1305_53_VERSION
  22. #define crypto_onetimeauth_poly1305_53_VERSION "-"
  23. #endif
  24. #define crypto_onetimeauth_poly1305_VERSION crypto_onetimeauth_poly1305_53_VERSION
  25. #endif