mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
6ff46ca373
This cuts build latency down from 5 seconds to 500 milliseconds.
15 lines
664 B
C
15 lines
664 B
C
#ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_BASE64_H_
|
|
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_BASE64_H_
|
|
#include "third_party/mbedtls/config.h"
|
|
COSMOPOLITAN_C_START_
|
|
/* clang-format off */
|
|
|
|
#define MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL -0x002A /*< Output buffer too small. */
|
|
#define MBEDTLS_ERR_BASE64_INVALID_CHARACTER -0x002C /*< Invalid character in input. */
|
|
|
|
int mbedtls_base64_encode(unsigned char *, size_t, size_t *, const unsigned char *, size_t);
|
|
int mbedtls_base64_decode(unsigned char *, size_t, size_t *, const unsigned char *, size_t);
|
|
int mbedtls_base64_self_test(int);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_MBEDTLS_BASE64_H_ */
|