Replaced system SQLite with SQLCipher to support encrypted database
This commit is contained in:
21
Sources/DataLiteC/libtomcrypt/modes/xts/xts_done.c
Normal file
21
Sources/DataLiteC/libtomcrypt/modes/xts/xts_done.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
|
||||
/* SPDX-License-Identifier: Unlicense */
|
||||
#include "tomcrypt_private.h"
|
||||
|
||||
/**
|
||||
Source donated by Elliptic Semiconductor Inc (www.ellipticsemi.com) to the LibTom Projects
|
||||
*/
|
||||
|
||||
#ifdef LTC_XTS_MODE
|
||||
|
||||
/** Terminate XTS state
|
||||
@param xts The state to terminate
|
||||
*/
|
||||
void xts_done(symmetric_xts *xts)
|
||||
{
|
||||
LTC_ARGCHKVD(xts != NULL);
|
||||
cipher_descriptor[xts->cipher].done(&xts->key1);
|
||||
cipher_descriptor[xts->cipher].done(&xts->key2);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user