Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dbase64.c18 static const char base64_table[65] = variable
44 *cp++ = base64_table[(ac >> bits) & 0x3f]; in base64_encode()
48 *cp++ = base64_table[(ac << (6 - bits)) & 0x3f]; in base64_encode()
81 const char *p = strchr(base64_table, src[i]); in base64_decode()
92 ac = (ac << 6) | (p - base64_table); in base64_decode()
/openbmc/linux/fs/ceph/
H A Dcrypto.c24 static const char base64_table[65] = variable
39 *cp++ = base64_table[(ac >> bits) & 0x3f]; in ceph_base64_encode()
43 *cp++ = base64_table[(ac << (6 - bits)) & 0x3f]; in ceph_base64_encode()
55 const char *p = strchr(base64_table, src[i]); in ceph_base64_decode()
59 ac = (ac << 6) | (p - base64_table); in ceph_base64_decode()