Mbed OS Reference
Loading...
Searching...
No Matches
base64.h File Reference

RFC 1521 base64 encoding/decoding. More...

#include "mbedtls/config.h"
#include <stddef.h>

Go to the source code of this file.

Macros

#define MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL   -0x002A
 Output buffer too small. More...
 
#define MBEDTLS_ERR_BASE64_INVALID_CHARACTER   -0x002C
 Invalid character in input. More...
 

Functions

int mbedtls_base64_encode (unsigned char *dst, size_t dlen, size_t *olen, const unsigned char *src, size_t slen)
 Encode a buffer into base64 format. More...
 
int mbedtls_base64_decode (unsigned char *dst, size_t dlen, size_t *olen, const unsigned char *src, size_t slen)
 Decode a base64-formatted buffer. More...
 

Detailed Description

RFC 1521 base64 encoding/decoding.

Definition in file base64.h.