1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-28 22:21:15 -07:00

Add crypto_scalarmult.h

This commit is contained in:
Frank Denis 2013-04-19 15:25:41 +02:00
parent ba13e40ad1
commit 1f596a0966
3 changed files with 12 additions and 0 deletions
src/libsodium/include

View File

@ -21,6 +21,7 @@ SODIUM_EXPORT = \
sodium/crypto_onetimeauth_poly1305.h \
sodium/crypto_onetimeauth_poly1305_53.h \
sodium/crypto_onetimeauth_poly1305_ref.h \
sodium/crypto_scalarmult.h \
sodium/crypto_scalarmult_curve25519.h \
sodium/crypto_secretbox.h \
sodium/crypto_secretbox_xsalsa20poly1305.h \

View File

@ -19,6 +19,7 @@
#include <sodium/crypto_hashblocks_sha512.h>
#include <sodium/crypto_onetimeauth.h>
#include <sodium/crypto_onetimeauth_poly1305.h>
#include <sodium/crypto_scalarmult.h>
#include <sodium/crypto_scalarmult_curve25519.h>
#include <sodium/crypto_secretbox.h>
#include <sodium/crypto_secretbox_xsalsa20poly1305.h>

View File

@ -0,0 +1,10 @@
#ifndef crypto_scalarmult_H
#define crypto_scalarmult_H
#define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES
#define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES
#define crypto_scalarmult crypto_scalarmult_curve25519
#define crypto_scalarmult_base crypto_scalarmult_curve25519_base
#define crypto_scalarmult_PRIMITIVE "curve25519"
#endif