Lines Matching defs:base64
17 /* $Id: base64.c,v 1.7 2020/09/14 08:40:44 florian Exp $ */
23 #include <isc/base64.h>
36 static const char base64[] =
52 buf[0] = base64[(source->base[0]>>2)&0x3f];
53 buf[1] = base64[((source->base[0]<<4)&0x30)|
55 buf[2] = base64[((source->base[1]<<2)&0x3c)|
57 buf[3] = base64[source->base[2]&0x3f];
70 buf[0] = base64[(source->base[0]>>2)&0x3f];
71 buf[1] = base64[((source->base[0]<<4)&0x30)|
73 buf[2] = base64[((source->base[1]<<2)&0x3c)];
78 buf[0] = base64[(source->base[0]>>2)&0x3f];
79 buf[1] = base64[((source->base[0]<<4)&0x30)];
88 * State of a base64 decoding process in progress.
93 int digits; /*%< Number of buffered base64 digits */
113 if ((s = strchr(base64, c)) == NULL)
115 ctx->val[ctx->digits++] = (int)(s - base64);