Adds options to disable the hash wrappers (NO_HASH_WRAPPER) and base64 decode (NO_WOLFSSL_BASE64_DECODE).

This commit is contained in:
David Garske
2020-02-05 11:38:22 -05:00
parent 63a73be3f0
commit ba9dc11e62
3 changed files with 13 additions and 1 deletions

View File

@@ -42,6 +42,8 @@ enum {
};
#ifdef WOLFSSL_BASE64_DECODE
static
const byte base64Decode[] = { 62, BAD, BAD, BAD, 63, /* + starts at 0x2B */
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
@@ -144,6 +146,7 @@ int Base64_Decode(const byte* in, word32 inLen, byte* out, word32* outLen)
return 0;
}
#endif /* WOLFSSL_BASE64_DECODE */
#if defined(WOLFSSL_BASE64_ENCODE)