Mercurial > dropbear
comparison src/headers/tomcrypt_misc.h @ 191:1c15b283127b libtomcrypt-orig
Import of libtomcrypt 1.02 with manual path rename rearrangement etc
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 06 May 2005 13:23:02 +0000 |
parents | |
children | 39d5d58461d6 |
comparison
equal
deleted
inserted
replaced
143:5d99163f7e32 | 191:1c15b283127b |
---|---|
1 /* ---- BASE64 Routines ---- */ | |
2 #ifdef BASE64 | |
3 int base64_encode(const unsigned char *in, unsigned long len, | |
4 unsigned char *out, unsigned long *outlen); | |
5 | |
6 int base64_decode(const unsigned char *in, unsigned long len, | |
7 unsigned char *out, unsigned long *outlen); | |
8 #endif | |
9 | |
10 /* ---- MEM routines ---- */ | |
11 void zeromem(void *dst, size_t len); | |
12 void burn_stack(unsigned long len); | |
13 | |
14 const char *error_to_string(int err); | |
15 int mpi_to_ltc_error(int err); | |
16 | |
17 extern const char *crypt_build_settings; |