Searched refs:inputLength (Results 1 – 2 of 2) sorted by relevance
41 int utils_base64encode(const uint8_t *data, uint32_t inputLength, in utils_base64encode() argument52 *outputLength = 4 * ((inputLength + 2) / 3); in utils_base64encode()58 for (i = 0, j = 0; i < inputLength;) { in utils_base64encode()59 uint32_t octet_a = i < inputLength ? (uint8_t)data[i++] : 0; in utils_base64encode()71 for (i = 0; i < g_modTable[inputLength % 3]; i++) { in utils_base64encode()78 int utils_base64decode(const uint8_t *data, uint32_t inputLength, in utils_base64decode() argument92 if (inputLength % 4 != 0) { in utils_base64decode()96 *outputLength = inputLength / 4 * 3; in utils_base64decode()98 if (data[inputLength - 1] == '=') { in utils_base64decode()102 if (data[inputLength - 2] == '=') { in utils_base64decode()[all …]
6 int utils_base64encode(const uint8_t *data, uint32_t inputLength,9 int utils_base64decode(const uint8_t *data, uint32_t inputLength,
Completed in 3 milliseconds