split worker off

This commit is contained in:
cathugger
2019-03-16 21:57:29 +02:00
parent bfd9d712c8
commit 5c58f03805
14 changed files with 1499 additions and 1338 deletions

View File

@@ -6,7 +6,7 @@ char *base64_to(char *dst,const u8 *src,size_t slen);
size_t base64_from(u8 *dst,const char *src,size_t slen);
// calculates length needed to store data converted from base64
#define BASE64_FROM_LEN(l) ((l) / 4 * 3)
// validates base32 string and optionally stores length of valid data
// validates base64 string and optionally stores length of valid data
// returns 1 if whole string is good, 0 if string contains invalid data
int base64_valid(const char *src,size_t *count);
// aligns data length to something base64 can represent without padding