mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 04:25:10 -07:00
crypto_stream_(before|after)nm is not implemented for salsa20* stream ciphers
Adding this interface is trivial, but until it's done, remove references to it.
This commit is contained in:
parent
d923f3ef4b
commit
9a35ba5bfd
@ -3,12 +3,8 @@
|
||||
|
||||
#define crypto_stream crypto_stream_salsa20
|
||||
#define crypto_stream_xor crypto_stream_salsa20_xor
|
||||
#define crypto_stream_beforenm crypto_stream_salsa20_beforenm
|
||||
#define crypto_stream_afternm crypto_stream_salsa20_afternm
|
||||
#define crypto_stream_xor_afternm crypto_stream_salsa20_xor_afternm
|
||||
#define crypto_stream_KEYBYTES crypto_stream_salsa20_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_salsa20_NONCEBYTES
|
||||
#define crypto_stream_BEFORENMBYTES crypto_stream_salsa20_BEFORENMBYTES
|
||||
#define crypto_stream_PRIMITIVE "salsa20"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_salsa20_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_salsa20_VERSION
|
||||
|
@ -3,12 +3,8 @@
|
||||
|
||||
#define crypto_stream crypto_stream_salsa2012
|
||||
#define crypto_stream_xor crypto_stream_salsa2012_xor
|
||||
#define crypto_stream_beforenm crypto_stream_salsa2012_beforenm
|
||||
#define crypto_stream_afternm crypto_stream_salsa2012_afternm
|
||||
#define crypto_stream_xor_afternm crypto_stream_salsa2012_xor_afternm
|
||||
#define crypto_stream_KEYBYTES crypto_stream_salsa2012_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_salsa2012_NONCEBYTES
|
||||
#define crypto_stream_BEFORENMBYTES crypto_stream_salsa2012_BEFORENMBYTES
|
||||
#define crypto_stream_PRIMITIVE "salsa2012"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_salsa2012_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_salsa2012_VERSION
|
||||
|
@ -3,12 +3,8 @@
|
||||
|
||||
#define crypto_stream crypto_stream_salsa208
|
||||
#define crypto_stream_xor crypto_stream_salsa208_xor
|
||||
#define crypto_stream_beforenm crypto_stream_salsa208_beforenm
|
||||
#define crypto_stream_afternm crypto_stream_salsa208_afternm
|
||||
#define crypto_stream_xor_afternm crypto_stream_salsa208_xor_afternm
|
||||
#define crypto_stream_KEYBYTES crypto_stream_salsa208_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_salsa208_NONCEBYTES
|
||||
#define crypto_stream_BEFORENMBYTES crypto_stream_salsa208_BEFORENMBYTES
|
||||
#define crypto_stream_PRIMITIVE "salsa208"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_salsa208_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_salsa208_VERSION
|
||||
|
@ -3,12 +3,8 @@
|
||||
|
||||
#define crypto_stream crypto_stream_xsalsa20
|
||||
#define crypto_stream_xor crypto_stream_xsalsa20_xor
|
||||
#define crypto_stream_beforenm crypto_stream_xsalsa20_beforenm
|
||||
#define crypto_stream_afternm crypto_stream_xsalsa20_afternm
|
||||
#define crypto_stream_xor_afternm crypto_stream_xsalsa20_xor_afternm
|
||||
#define crypto_stream_KEYBYTES crypto_stream_xsalsa20_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_xsalsa20_NONCEBYTES
|
||||
#define crypto_stream_BEFORENMBYTES crypto_stream_xsalsa20_BEFORENMBYTES
|
||||
#define crypto_stream_PRIMITIVE "xsalsa20"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_xsalsa20_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_xsalsa20_VERSION
|
||||
|
@ -24,23 +24,11 @@ int crypto_stream_salsa20(unsigned char *,unsigned long long,const unsigned char
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa20_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa20_beforenm(unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa20_afternm(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa20_xor_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define crypto_stream_salsa20_ref crypto_stream_salsa20
|
||||
#define crypto_stream_salsa20_ref_xor crypto_stream_salsa20_xor
|
||||
#define crypto_stream_salsa20_ref_beforenm crypto_stream_salsa20_beforenm
|
||||
#define crypto_stream_salsa20_ref_afternm crypto_stream_salsa20_afternm
|
||||
#define crypto_stream_salsa20_ref_xor_afternm crypto_stream_salsa20_xor_afternm
|
||||
|
||||
#endif
|
||||
|
@ -24,23 +24,11 @@ int crypto_stream_salsa2012(unsigned char *,unsigned long long,const unsigned ch
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa2012_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa2012_beforenm(unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa2012_afternm(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa2012_xor_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define crypto_stream_salsa2012_ref crypto_stream_salsa2012
|
||||
#define crypto_stream_salsa2012_ref_xor crypto_stream_salsa2012_xor
|
||||
#define crypto_stream_salsa2012_ref_beforenm crypto_stream_salsa2012_beforenm
|
||||
#define crypto_stream_salsa2012_ref_afternm crypto_stream_salsa2012_afternm
|
||||
#define crypto_stream_salsa2012_ref_xor_afternm crypto_stream_salsa2012_xor_afternm
|
||||
|
||||
#endif
|
||||
|
@ -24,23 +24,11 @@ int crypto_stream_salsa208(unsigned char *,unsigned long long,const unsigned cha
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa208_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa208_beforenm(unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa208_afternm(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_salsa208_xor_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define crypto_stream_salsa208_ref crypto_stream_salsa208
|
||||
#define crypto_stream_salsa208_ref_xor crypto_stream_salsa208_xor
|
||||
#define crypto_stream_salsa208_ref_beforenm crypto_stream_salsa208_beforenm
|
||||
#define crypto_stream_salsa208_ref_afternm crypto_stream_salsa208_afternm
|
||||
#define crypto_stream_salsa208_ref_xor_afternm crypto_stream_salsa208_xor_afternm
|
||||
|
||||
#endif
|
||||
|
@ -24,23 +24,11 @@ int crypto_stream_xsalsa20(unsigned char *,unsigned long long,const unsigned cha
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_xsalsa20_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_xsalsa20_beforenm(unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_xsalsa20_afternm(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
SODIUM_EXPORT
|
||||
int crypto_stream_xsalsa20_xor_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define crypto_stream_xsalsa20_ref crypto_stream_xsalsa20
|
||||
#define crypto_stream_xsalsa20_ref_xor crypto_stream_xsalsa20_xor
|
||||
#define crypto_stream_xsalsa20_ref_beforenm crypto_stream_xsalsa20_beforenm
|
||||
#define crypto_stream_xsalsa20_ref_afternm crypto_stream_xsalsa20_afternm
|
||||
#define crypto_stream_xsalsa20_ref_xor_afternm crypto_stream_xsalsa20_xor_afternm
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user