Home
last modified time | relevance | path

Searched refs:encode_table (Results 1 – 1 of 1) sorted by relevance

/openbmc/libcper/
H A Dbase64.c9 static const UINT8 encode_table[65] = variable
44 *out_pos++ = encode_table[in_pos[0] >> 2]; in base64_encode()
45 *out_pos++ = encode_table[((in_pos[0] & 0x03) << 4) | in base64_encode()
47 *out_pos++ = encode_table[((in_pos[1] & 0x0f) << 2) | in base64_encode()
49 *out_pos++ = encode_table[in_pos[2] & 0x3f]; in base64_encode()
54 *out_pos++ = encode_table[in_pos[0] >> 2]; in base64_encode()
56 *out_pos++ = encode_table[(in_pos[0] & 0x03) << 4]; in base64_encode()
59 *out_pos++ = encode_table[((in_pos[0] & 0x03) << 4) | in base64_encode()
61 *out_pos++ = encode_table[(in_pos[1] & 0x0f) << 2]; in base64_encode()