summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.h
blob: 79ed97500fd801ca6a75710ee67dd69aea121ea8 (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 1024

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

void zeroize_stack();

#endif