23 #if defined(HAVE_CONFIG_H)
26 #define __STDC_WANT_LIB_EXT1__ 1
30 #if defined(HAVE_STRINGS_H)
33 #if defined(_WIN32) || defined(_WIN64)
45 #if defined(_WIN32) || defined(_WIN64)
46 SecureZeroMemory(buf, size);
47 #elif defined(__STDC_LIB_EXT1__) || defined(HAVE_MEMSET_S)
48 memset_s(buf, (rsize_t)size, 0, (rsize_t)size);
49 #elif defined(HAVE_EXPLICIT_BZERO)
50 explicit_bzero(buf, size);
52 volatile unsigned char *d = (
volatile unsigned char *)buf;
void ascon_clean(void *buf, unsigned size)
Cleans a buffer that contains sensitive material.
System utilities of use to applications that use ASCON.