Replaced system SQLite with SQLCipher to support encrypted database
This commit is contained in:
20
Sources/DataLiteC/libtomcrypt/stream/chacha/chacha_done.c
Normal file
20
Sources/DataLiteC/libtomcrypt/stream/chacha/chacha_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_CHACHA
|
||||
|
||||
/**
|
||||
Terminate and clear ChaCha state
|
||||
@param st The ChaCha state
|
||||
@return CRYPT_OK on success
|
||||
*/
|
||||
int chacha_done(chacha_state *st)
|
||||
{
|
||||
LTC_ARGCHK(st != NULL);
|
||||
zeromem(st, sizeof(chacha_state));
|
||||
return CRYPT_OK;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user