mirror of
https://github.com/espressif/esp-idf
synced 2025-04-22 06:21:33 -04:00
Add files required for DPP feature from upstream. These file expose the functionality to create DPP packets. Ported crypto layer from openssl to mbedtls. Interfacing to use these API will be added in seperate commit
18 lines
556 B
C
18 lines
556 B
C
/*
|
|
* Base64 encoding/decoding (RFC1341)
|
|
* Copyright (c) 2005, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef BASE64_H
|
|
#define BASE64_H
|
|
|
|
char * base64_encode(const void *src, size_t len, size_t *out_len);
|
|
unsigned char * base64_decode(const char *src, size_t len, size_t *out_len);
|
|
char * base64_url_encode(const void *src, size_t len, size_t *out_len);
|
|
unsigned char * base64_url_decode(const char *src, size_t len, size_t *out_len);
|
|
|
|
#endif /* BASE64_H */
|