26#ifndef WOLF_CRYPT_CODING_H
27#define WOLF_CRYPT_CODING_H
36WOLFSSL_API
int Base64_Decode(
const byte* in, word32 inLen,
byte* out,
39#if defined(OPENSSL_EXTRA) || defined(SESSION_CERTS) || defined(WOLFSSL_KEY_GEN) \
40 || defined(WOLFSSL_CERT_GEN) || defined(HAVE_WEBSERVER) || !defined(NO_DSA)
41 #ifndef WOLFSSL_BASE64_ENCODE
42 #define WOLFSSL_BASE64_ENCODE
47#ifdef WOLFSSL_BASE64_ENCODE
66#if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL) || \
67 defined(HAVE_WEBSERVER) || defined(HAVE_FIPS) || \
68 defined(HAVE_ECC_CDH) || defined(HAVE_SELFTEST) || \
69 defined(WOLFSSL_ENCRYPTED_KEYS)
70 #ifndef WOLFSSL_BASE16
71 #define WOLFSSL_BASE16
77 int Base16_Decode(
const byte* in, word32 inLen,
byte* out, word32* outLen);
79 int Base16_Encode(
const byte* in, word32 inLen,
byte* out, word32* outLen);
WOLFSSL_API int Base16_Encode(const byte *in, word32 inLen, byte *out, word32 *outLen)
Encode input to base16 output.
Definition coding.c:472
int Base64_EncodeEsc(const byte *in, word32 inLen, byte *out, word32 *outLen)
This function encodes the given input, in, and stores the Base64 encoded result in the output buffer ...
Definition coding.c:390
WOLFSSL_API int Base64_Decode(const byte *in, word32 inLen, byte *out, word32 *outLen)
This function decodes the given Base64 encoded input, in, and stores the result in the output buffer ...
Definition coding.c:90
WOLFSSL_API int Base16_Decode(const byte *in, word32 inLen, byte *out, word32 *outLen)
This function decodes the given Base16 encoded input, in, and stores the result in the output buffer ...
Definition coding.c:416
WOLFSSL_API int Base64_Encode_NoNl(const byte *in, word32 inLen, byte *out, word32 *outLen)
This function encodes the given input, in, and stores the Base64 encoded result in the output buffer ...
Definition coding.c:395
WOLFSSL_API int Base64_Encode(const byte *in, word32 inLen, byte *out, word32 *outLen)
This function encodes the given input, in, and stores the Base64 encoded result in the output buffer ...
Definition coding.c:383