From d334b93d0d11d817ec8d800c5853cbc4e74b8c9f Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 30 Jun 2014 21:09:32 -0700 Subject: [PATCH] Mention that edwards25519sha512batch() should not be used in new projects. --- .../sodium/crypto_sign_edwards25519sha512batch.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h index c0f595bf..4d556c83 100644 --- a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +++ b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h @@ -1,6 +1,17 @@ #ifndef crypto_sign_edwards25519sha512batch_H #define crypto_sign_edwards25519sha512batch_H +/* + * WARNING: This construction was a prototype, which should not be used + * any more in new projects. + * + * crypto_sign_edwards25519sha512batch is provided for applications + * initially built with NaCl, but as recommended by the author of this + * construction, new applications should use ed25519 instead. + * + * In Sodium, you should use the high-level crypto_sign_*() functions instead. + */ + #include #include "export.h"