1 #ifndef crypto_sign_edwards25519sha512batch_H
2 #define crypto_sign_edwards25519sha512batch_H
5 * WARNING: This construction was a prototype, which should not be used
6 * any more in new projects.
8 * crypto_sign_edwards25519sha512batch is provided for applications
9 * initially built with NaCl, but as recommended by the author of this
10 * construction, new applications should use ed25519 instead.
12 * In Sodium, you should use the high-level crypto_sign_*() functions instead.
20 # pragma GCC diagnostic ignored "-Wlong-long"
25 #define crypto_sign_edwards25519sha512batch_BYTES 64U
27 size_t crypto_sign_edwards25519sha512batch_bytes(void);
29 #define crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES 32U
31 size_t crypto_sign_edwards25519sha512batch_publickeybytes(void);
33 #define crypto_sign_edwards25519sha512batch_SECRETKEYBYTES (32U + 32U)
35 size_t crypto_sign_edwards25519sha512batch_secretkeybytes(void);
38 int crypto_sign_edwards25519sha512batch(unsigned char *sm,
39 unsigned long long *smlen_p,
40 const unsigned char *m,
41 unsigned long long mlen,
42 const unsigned char *sk);
45 int crypto_sign_edwards25519sha512batch_open(unsigned char *m,
46 unsigned long long *mlen_p,
47 const unsigned char *sm,
48 unsigned long long smlen,
49 const unsigned char *pk);
52 int crypto_sign_edwards25519sha512batch_keypair(unsigned char *pk,