Function declarations and error codes for ota_base64.c. More...
#include <stdint.h>#include <stdlib.h>

Go to the source code of this file.
Enumerations | |
| enum | Base64Status_t { Base64Success , Base64InvalidSymbol , Base64InvalidSymbolOrdering , Base64InvalidInputSize , Base64NullPointerInput , Base64InvalidBufferSize , Base64NonZeroPadding , Base64InvalidPaddingSymbol } |
| The Base64 functionality return status. More... | |
Functions | |
| Base64Status_t | base64Decode (uint8_t *pDest, const size_t destLen, size_t *pResultLen, const uint8_t *pEncodedData, const size_t encodedLen) |
| Decode Base64 encoded data. More... | |
Function declarations and error codes for ota_base64.c.
| enum Base64Status_t |
The Base64 functionality return status.
ota_enum_types
| Base64Status_t base64Decode | ( | uint8_t * | pDest, |
| const size_t | destLen, | ||
| size_t * | pResultLen, | ||
| const uint8_t * | pEncodedData, | ||
| const size_t | encodedLen | ||
| ) |
Decode Base64 encoded data.
| [out] | pDest | Pointer to a buffer for storing the decoded result. |
| [in] | destLen | Length of the pDest buffer. |
| [out] | pResultLen | Pointer to the length of the decoded result. |
| [in] | pEncodedData | Pointer to a buffer containing the Base64 encoded data that is intended to be decoded. |
| [in] | encodedLen | Length of the pEncodedData buffer. |