mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-26 09:47:43 +00:00
11 lines
202 B
C
11 lines
202 B
C
|
|
void zeroize(unsigned char* b, unsigned long len)
|
|
{
|
|
unsigned long count = 0;
|
|
unsigned long retval = 0;
|
|
volatile unsigned char *p = b;
|
|
|
|
for (count = 0; count < len; count++)
|
|
p[count] = 0;
|
|
}
|