Lines Matching defs:padding
155 char *base32hexmem(const void *p, size_t l, bool padding) {
160 if (padding)
161 /* five input bytes makes eight output bytes, padding is added so we must round up */
164 /* same, but round down as there is no padding */
209 if (padding)
220 if (padding) {
233 if (padding) {
245 if (padding) {
261 int unbase32hexmem(const char *p, size_t l, bool padding, void **mem, size_t *_len) {
271 /* padding ensures any base32hex input has input divisible by 8 */
272 if (padding && l % 8 != 0)
275 if (padding) {
276 /* strip the padding */
284 padding we need to add some extra bytes */
519 /* three input bytes makes four output bytes, padding is added so we must round up */
617 /* padding ensures any base63 input has input divisible by 4 */
621 /* strip the padding */
628 padding we need to add two or three extra bytes */