mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-27 16:38:53 +00:00
26 lines
846 B
C++
26 lines
846 B
C++
#ifndef crypto_hash_sha256_H
|
|
#define crypto_hash_sha256_H
|
|
|
|
#define crypto_hash_sha256_ref_BYTES 32
|
|
#ifdef __cplusplus
|
|
#include <string>
|
|
extern std::string crypto_hash_sha256_ref(const std::string &);
|
|
extern "C" {
|
|
#endif
|
|
extern int crypto_hash_sha256_ref(unsigned char *,const unsigned char *,unsigned long long);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#define crypto_hash_sha256 crypto_hash_sha256_ref
|
|
/* POTATO crypto_hash_sha256_ref crypto_hash_sha256_ref crypto_hash_sha256 */
|
|
#define crypto_hash_sha256_BYTES crypto_hash_sha256_ref_BYTES
|
|
/* POTATO crypto_hash_sha256_ref_BYTES crypto_hash_sha256_ref crypto_hash_sha256 */
|
|
#define crypto_hash_sha256_IMPLEMENTATION "crypto_hash/sha256/ref"
|
|
#ifndef crypto_hash_sha256_ref_VERSION
|
|
#define crypto_hash_sha256_ref_VERSION "-"
|
|
#endif
|
|
#define crypto_hash_sha256_VERSION crypto_hash_sha256_ref_VERSION
|
|
|
|
#endif
|