mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
10 lines
257 B
C
10 lines
257 B
C
|
#ifndef _ARC4_ALT_H
|
||
|
#define _ARC4_ALT_H
|
||
|
|
||
|
/* Implementation that should never be optimized out by the compiler */
|
||
|
static void mbedtls_zeroize( void *v, size_t n ) {
|
||
|
volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0;
|
||
|
}
|
||
|
|
||
|
#endif
|