Home
last modified time | relevance | path

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

/external/wpa_supplicant/
Dbase64.c20 static const unsigned char base64_table[65] = variable
55 *pos++ = base64_table[in[0] >> 2]; in base64_encode()
56 *pos++ = base64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)]; in base64_encode()
57 *pos++ = base64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)]; in base64_encode()
58 *pos++ = base64_table[in[2] & 0x3f]; in base64_encode()
68 *pos++ = base64_table[in[0] >> 2]; in base64_encode()
70 *pos++ = base64_table[(in[0] & 0x03) << 4]; in base64_encode()
73 *pos++ = base64_table[((in[0] & 0x03) << 4) | in base64_encode()
75 *pos++ = base64_table[(in[1] & 0x0f) << 2]; in base64_encode()
108 for (i = 0; i < sizeof(base64_table) - 1; i++) in base64_decode()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dbase64.c20 static const unsigned char base64_table[65] = variable
57 *pos++ = base64_table[in[0] >> 2]; in base64_encode()
58 *pos++ = base64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)]; in base64_encode()
59 *pos++ = base64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)]; in base64_encode()
60 *pos++ = base64_table[in[2] & 0x3f]; in base64_encode()
70 *pos++ = base64_table[in[0] >> 2]; in base64_encode()
72 *pos++ = base64_table[(in[0] & 0x03) << 4]; in base64_encode()
75 *pos++ = base64_table[((in[0] & 0x03) << 4) | in base64_encode()
77 *pos++ = base64_table[(in[1] & 0x0f) << 2]; in base64_encode()
110 for (i = 0; i < sizeof(base64_table) - 1; i++) in base64_decode()
[all …]