Replaced system SQLite with SQLCipher to support encrypted database
This commit is contained in:
20
Sources/DataLiteC/libtomcrypt/stream/salsa20/salsa20_done.c
Normal file
20
Sources/DataLiteC/libtomcrypt/stream/salsa20/salsa20_done.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
|
||||
/* SPDX-License-Identifier: Unlicense */
|
||||
|
||||
#include "tomcrypt_private.h"
|
||||
|
||||
#ifdef LTC_SALSA20
|
||||
|
||||
/**
|
||||
Terminate and clear Salsa20 state
|
||||
@param st The Salsa20 state
|
||||
@return CRYPT_OK on success
|
||||
*/
|
||||
int salsa20_done(salsa20_state *st)
|
||||
{
|
||||
LTC_ARGCHK(st != NULL);
|
||||
zeromem(st, sizeof(salsa20_state));
|
||||
return CRYPT_OK;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user