xref: /openbmc/libcper/base64.h (revision a7d2cddd)
1*a7d2cdddSEd Tanous #include "edk/BaseTypes.h"
2*a7d2cdddSEd Tanous 
3*a7d2cdddSEd Tanous /**
4*a7d2cdddSEd Tanous  * base64_decode
5*a7d2cdddSEd Tanous  * Caller is responsible for freeing the returned buffer.
6*a7d2cdddSEd Tanous  */
7*a7d2cdddSEd Tanous UINT8 *base64_decode(const CHAR8 *src, INT32 len, INT32 *out_len);
8*a7d2cdddSEd Tanous 
9*a7d2cdddSEd Tanous /**
10*a7d2cdddSEd Tanous  * base64_encode
11*a7d2cdddSEd Tanous  * Caller is responsible for freeing the returned buffer.
12*a7d2cdddSEd Tanous  */
13*a7d2cdddSEd Tanous CHAR8 *base64_encode(const UINT8 *src, INT32 len, INT32 *out_len);
14