diff options
author | Karel Miko <karel.miko@gmail.com> | 2018-06-04 16:45:49 +0200 |
---|---|---|
committer | Karel Miko <karel.miko@gmail.com> | 2018-06-04 16:45:49 +0200 |
commit | 5dbccdcd3dfd5012d44c98b125089da9c64553ed (patch) | |
tree | ddafec2cf2f8778c31133b283ae2acb139ed77ff /src/ltc/headers/tomcrypt_cipher.h | |
parent | 4e663d68aa094f9cbd1ac56f8ec0db5c0379a8a6 (diff) |
ltc update
Diffstat (limited to 'src/ltc/headers/tomcrypt_cipher.h')
-rw-r--r-- | src/ltc/headers/tomcrypt_cipher.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ltc/headers/tomcrypt_cipher.h b/src/ltc/headers/tomcrypt_cipher.h index a94055e9..4b983593 100644 --- a/src/ltc/headers/tomcrypt_cipher.h +++ b/src/ltc/headers/tomcrypt_cipher.h @@ -1031,6 +1031,15 @@ int salsa20_test(void); #endif /* LTC_SALSA20 */ +#ifdef LTC_XSALSA20 + +int xsalsa20_setup(salsa20_state *st, const unsigned char *key, unsigned long keylen, + const unsigned char *nonce, unsigned long noncelen, + int rounds); +int xsalsa20_test(void); + +#endif /* LTC_XSALSA20 */ + #ifdef LTC_SOSEMANUK typedef struct { |