Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libsasl/lib/
H A Dsaslutil.c95 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
209 if (CHAR64(c1) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (CHAR64(c2) == -1) return SASL_BADPROT; in sasl_decode64()
213 if (c3 != '=' && CHAR64(c3) == -1) return SASL_BADPROT; in sasl_decode64()
215 if (c4 != '=' && CHAR64(c4) == -1) return SASL_BADPROT; in sasl_decode64()
217 *out++ = (CHAR64(c1) << 2) | (CHAR64(c2) >> 4); in sasl_decode64()
220 *out++ = ((CHAR64(c2) << 4) & 0xf0) | (CHAR64(c3) >> 2); in sasl_decode64()
223 *out++ = ((CHAR64(c3) << 6) & 0xc0) | CHAR64(c4); in sasl_decode64()
/titanic_44/usr/src/lib/crypt_modules/bsdbf/
H A Dbcrypt.c108 #define CHAR64(c) ((c) > 127 ? 255 : index_64[(c)]) macro
117 c1 = CHAR64(*p); in decode_base64()
118 c2 = CHAR64(*(p + 1)); in decode_base64()
128 c3 = CHAR64(*(p + 2)); in decode_base64()
136 c4 = CHAR64(*(p + 3)); in decode_base64()
/titanic_44/usr/src/cmd/sendmail/src/
H A Dmime.c1030 # define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
1133 c1 = CHAR64(c1);
1134 c2 = CHAR64(c2);
1164 c3 = CHAR64(c3);
1169 c4 = CHAR64(c4);