Lines Matching refs:base32
75 * base32[] index32[] are used in base32 encoding and decoding.
77 static char base32[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
7060 for (i = 0; i < sizeof (base32) - 1; i++) {
7061 if (pad == base32[i])
7075 *out++ = base32[in[0] >> 3];
7077 *out++ = base32[((in[0] << 2) & 0x1c) | (in[1] >> 6)];
7079 *out++ = base32[(in[1] >> 1) & 0x1f];
7081 *out++ = base32[((in[1] << 4) & 0x10) | ((in[2] >> 4) & 0xf)];
7083 *out++ = base32[((in[2] << 1) & 0x1e) | (in[3] >> 7)];
7085 *out++ = base32[(in[3] >> 2) & 0x1f];
7087 *out++ = base32[((in[3] << 3) & 0x18) | (in[4] >> 5)];
7089 *out++ = base32[in[4] & 0x1f];
7096 *out++ = base32[in[0] >> 3];
7103 *out++ = base32[oval];
7108 *out++ = base32[oval];
7110 *out++ = base32[(in[1] >> 1) & 0x1f];
7117 *out++ = base32[oval];
7122 *out++ = base32[oval];
7129 *out++ = base32[oval];
7134 *out++ = base32[oval];
7136 *out++ = base32[(in[3] >> 2) & 0x1f];
7138 *out++ = base32[(in[3] << 3) & 0x18];
7214 for (i = 0; i < sizeof (base32) - 1; i++) {
7215 if (pad == base32[i])