Searched refs:base32 (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libscf/common/
H A Dlowlevel.c75 * base32[] index32[] are used in base32 encoding and decoding.
77 static char base32[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; variable
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[((i
[all...]

Completed in 57 milliseconds