Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base32/
A Dbase32_encode.c22 const char *codes; in base32_encode() local
50 codes = alphabet[id]; in base32_encode()
53 *out++ = codes[(in[0] >> 3) & 0x1F]; in base32_encode()
55 *out++ = codes[(in[1] >> 1) & 0x1F]; in base32_encode()
58 *out++ = codes[(in[3] >> 2) & 0x1F]; in base32_encode()
60 *out++ = codes[in[4] & 0x1F]; in base32_encode()
68 *out++ = codes[(a >> 3) & 0x1F]; in base32_encode()
69 *out++ = codes[(((a & 0x7) << 2) + (b >> 6)) & 0x1F]; in base32_encode()
71 *out++ = codes[(b >> 1) & 0x1F]; in base32_encode()
78 *out++ = codes[(d >> 2) & 0x1F]; in base32_encode()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base64/
A Dbase64_encode.c35 const char *codes, unsigned int mode) in s_base64_encode_internal() argument
66 *p++ = codes[(in[0] >> 2) & 0x3F]; in s_base64_encode_internal()
67 *p++ = codes[(((in[0] & 3) << 4) + (in[1] >> 4)) & 0x3F]; in s_base64_encode_internal()
68 *p++ = codes[(((in[1] & 0xf) << 2) + (in[2] >> 6)) & 0x3F]; in s_base64_encode_internal()
69 *p++ = codes[in[2] & 0x3F]; in s_base64_encode_internal()
81 *p++ = codes[(a >> 2) & 0x3F]; in s_base64_encode_internal()
82 *p++ = codes[(((a & 3) << 4) + (b >> 4)) & 0x3F]; in s_base64_encode_internal()
84 *p++ = (i+1 < inlen) ? codes[(((b & 0xf) << 2)) & 0x3F] : '='; in s_base64_encode_internal()
88 if (i+1 < inlen) *p++ = codes[(((b & 0xf) << 2)) & 0x3F]; in s_base64_encode_internal()
/optee_os-3.20.0/core/lib/zlib/
A Dinftrees.c33 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
36 unsigned codes;
110 for (sym = 0; sym < codes; sym++)
147 for (sym = 0; sym < codes; sym++)
A Dinftrees.h62 unsigned codes, code FAR * FAR *table,
A Dinflate.h123 code codes[ENOUGH]; /* space for code tables */ member
A Dinflate.c139 state->lencode = state->distcode = state->next = state->codes;
961 state->next = state->codes;
1036 state->next = state->codes;
1525 if (state->lencode >= state->codes &&
1526 state->lencode <= state->codes + ENOUGH - 1) {
1527 copy->lencode = copy->codes + (state->lencode - state->codes);
1528 copy->distcode = copy->codes + (state->distcode - state->codes);
1530 copy->next = copy->codes + (state->next - state->codes);
1592 return (unsigned long)(state->next - state->codes);
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog821 high- and low-level error codes, complementing mbedtls_strerror()
1196 codes to always wrap these codes into X.509 high level error codes before
2178 returning error codes when using MBEDTLS_<MODULE>_ALT.
2222 * Fix unchecked return codes from AES, DES and 3DES functions in
2285 new ones with return codes. In particular, this modifies the
3169 * Added new error codes and debug messages about selection of
4177 codes instead of integers
4191 error codes and their description.
4203 * The error codes have been remapped and combining error codes
4204 is now done with a PLUS instead of an OR as error codes
[all …]

Completed in 13 milliseconds