21 lines
400 B
C
21 lines
400 B
C
/* 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
|