From e153debd0ddb40eb308e629dc6d3b22b83f86289 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 13 Feb 2016 08:15:00 +0100 Subject: [PATCH] Remove ...edwards25519sha512batch_*() wrappers for the constants The ...edwards25519sha512batch_*() functions are only here for ABI compatibility with NaCl, where constants were only defined as macros. Plus, these functions were only present as prototypes since 1.0.6; the actual symbols were no defined any more. --- .../sodium/crypto_sign_edwards25519sha512batch.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h index 77117c7d..8dadf5a2 100644 --- a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +++ b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h @@ -23,19 +23,8 @@ extern "C" { #endif #define crypto_sign_edwards25519sha512batch_BYTES 64U -SODIUM_EXPORT -size_t crypto_sign_edwards25519sha512batch_bytes(void) - __attribute__ ((deprecated)); - #define crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES 32U -SODIUM_EXPORT -size_t crypto_sign_edwards25519sha512batch_publickeybytes(void) - __attribute__ ((deprecated)); - #define crypto_sign_edwards25519sha512batch_SECRETKEYBYTES (32U + 32U) -SODIUM_EXPORT -size_t crypto_sign_edwards25519sha512batch_secretkeybytes(void) - __attribute__ ((deprecated)); SODIUM_EXPORT int crypto_sign_edwards25519sha512batch(unsigned char *sm,