1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */ 2 /* SPDX-License-Identifier: Unlicense */ 3 4 #include "tomcrypt_private.h" 5 6 #ifdef LTC_SALSA20 7 8 /** 9 Terminate and clear Salsa20 state 10 @param st The Salsa20 state 11 @return CRYPT_OK on success 12 */ salsa20_done(salsa20_state * st)13int salsa20_done(salsa20_state *st) 14 { 15 LTC_ARGCHK(st != NULL); 16 zeromem(st, sizeof(salsa20_state)); 17 return CRYPT_OK; 18 } 19 20 #endif 21