summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.h
blob: 80fcffb768012248421610f4f8843f13394b84bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __ZEROIZE_H__
#define __ZEROIZE_H__

#include <stdlib.h>

#define ZEROIZE_STACK_SIZE 2048

void zeroize(unsigned char* b, size_t len);

void zeroize_stack();

#endif