forked from wolfSSL/wolfssl
have Base16 Decode on for FIPS tests
This commit is contained in:
@ -324,6 +324,11 @@ int Base64_EncodeEsc(const byte* in, word32 inLen, byte* out, word32* outLen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* defined(OPENSSL_EXTRA) || defined (SESSION_CERTS) || defined(CYASSL_KEY_GEN) || defined(CYASSL_CERT_GEN) || defined(HAVE_WEBSERVER) */
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(OPENSSL_EXTRA) || defined(HAVE_WEBSERVER) || defined(HAVE_FIPS)
|
||||||
|
|
||||||
static
|
static
|
||||||
const byte hexDecode[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
const byte hexDecode[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
||||||
BAD, BAD, BAD, BAD, BAD, BAD, BAD,
|
BAD, BAD, BAD, BAD, BAD, BAD, BAD,
|
||||||
@ -389,5 +394,6 @@ int Base16_Decode(const byte* in, word32 inLen, byte* out, word32* outLen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* defined(OPENSSL_EXTRA) || defined (SESSION_CERTS) || defined(CYASSL_KEY_GEN) || defined(CYASSL_CERT_GEN) || defined(HAVE_WEBSERVER) */
|
#endif /* (OPENSSL_EXTRA) || (HAVE_WEBSERVER) || (HAVE_FIPS) */
|
||||||
|
|
||||||
#endif /* NO_CODING */
|
#endif /* NO_CODING */
|
||||||
|
@ -42,10 +42,14 @@ CYASSL_LOCAL int Base64_Decode(const byte* in, word32 inLen, byte* out,
|
|||||||
CYASSL_API
|
CYASSL_API
|
||||||
int Base64_EncodeEsc(const byte* in, word32 inLen, byte* out,
|
int Base64_EncodeEsc(const byte* in, word32 inLen, byte* out,
|
||||||
word32* outLen);
|
word32* outLen);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(OPENSSL_EXTRA) || defined(HAVE_WEBSERVER) || defined(HAVE_FIPS)
|
||||||
CYASSL_API
|
CYASSL_API
|
||||||
int Base16_Decode(const byte* in, word32 inLen, byte* out, word32* outLen);
|
int Base16_Decode(const byte* in, word32 inLen, byte* out, word32* outLen);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user