Home
last modified time | relevance | path

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

12

/dports/security/py-kerberos/kerberos-1.3.1/src/
H A Dbase64.c36 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
97 if (CHAR64(c1) == -1) { in base64_decode()
101 if (CHAR64(c2) == -1) { in base64_decode()
105 if ((c3 != '=') && (CHAR64(c3) == -1)) { in base64_decode()
109 if ((c4 != '=') && (CHAR64(c4) == -1)) { in base64_decode()
114 *out++ = (CHAR64(c1) << 2) | (CHAR64(c2) >> 4); in base64_decode()
118 *out++ = ((CHAR64(c2) << 4) & 0xf0) | (CHAR64(c3) >> 2); in base64_decode()
122 *out++ = ((CHAR64(c3) << 6) & 0xc0) | CHAR64(c4); in base64_decode()
/dports/mail/libetpan/libetpan-1.9.4/src/data-types/
H A Dbase64.c41 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
118 if (CHAR64(c1) == -1 || CHAR64(c2) == -1 || in decode_base64()
119 (c3 != '=' && CHAR64(c3) == -1) || in decode_base64()
120 (c4 != '=' && CHAR64(c4) == -1)) { in decode_base64()
126 *output++ = (CHAR64(c1) << 2) | (CHAR64(c2) >> 4); in decode_base64()
131 *output++ = ((CHAR64(c2) << 4) & 0xf0) | (CHAR64(c3) >> 2); in decode_base64()
136 *output++ = ((CHAR64(c3) << 6) & 0xc0) | CHAR64(c4); in decode_base64()
/dports/mail/qsf/qsf-1.2.7/src/message/
H A Dbase64.c33 #define CHAR64(c) (index_64[(unsigned char)(c)]) macro
59 if (c != '=' && CHAR64(c) == -1) in msg_from_base64()
65 if (c != '=' && CHAR64(c) == -1) in msg_from_base64()
71 if (c != '=' && CHAR64(c) == -1) in msg_from_base64()
77 if (c != '=' && CHAR64(c) == -1) in msg_from_base64()
94 c1 = CHAR64(c1); in msg_from_base64()
95 c2 = CHAR64(c2); in msg_from_base64()
103 c3 = CHAR64(c3); in msg_from_base64()
109 c4 = CHAR64(c4); in msg_from_base64()
/dports/net/socat/socat-1.7.4.2/
H A Dxio-ascii.c26 #define CHAR64(c) (base64chars[c])
37 *coded++ = CHAR64(c1>>2);
39 *coded++ = CHAR64((c1&0x03)<<4);
44 *coded++ = CHAR64(((c1&0x03)<<4)|(c2>>4));
46 *coded++ = CHAR64((c2&0x0f)<<2);
50 *coded++ = CHAR64(((c2&0x0f)<<2)|(c3>>6));
51 *coded++ = CHAR64(c3&0x3f);
/dports/security/libgringotts/libgringotts-1.2.1/src/
H A Dlibgrg_utils.c462 #define CHAR64(c) \ macro
561 if (CHAR64 (c1) == -1) in grg_decode64()
564 if (CHAR64 (c2) == -1) in grg_decode64()
567 if (c3 != '=' && CHAR64 (c3) == -1) in grg_decode64()
570 if (c4 != '=' && CHAR64 (c4) == -1) in grg_decode64()
573 *out++ = (CHAR64 (c1) << 2) | (CHAR64 (c2) >> 4); in grg_decode64()
576 *out++ = ((CHAR64 (c2) << 4) & 0xf0) | (CHAR64 (c3) >> in grg_decode64()
579 *out++ = ((CHAR64 (c3) << 6) & 0xc0) | in grg_decode64()
580 CHAR64 (c4); in grg_decode64()
/dports/mail/jmba/jmba-0.5.5/src/main/
H A Ddecode.c36 #define CHAR64(c) (index_64[(unsigned char)(c)]) macro
86 if (c != '=' && CHAR64(c) == -1) in decode_base64()
92 if (c != '=' && CHAR64(c) == -1) in decode_base64()
98 if (c != '=' && CHAR64(c) == -1) in decode_base64()
104 if (c != '=' && CHAR64(c) == -1) in decode_base64()
121 c1 = CHAR64(c1); in decode_base64()
122 c2 = CHAR64(c2); in decode_base64()
130 c3 = CHAR64(c3); in decode_base64()
136 c4 = CHAR64(c4); in decode_base64()
/dports/security/cyrus-sasl2-saslauthd/cyrus-sasl-2.1.28/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/security/cyrus-sasl2-gssapi/cyrus-sasl-2.1.28/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/security/cyrus-sasl2/cyrus-sasl-2.1.28/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/security/cyrus-sasl2-ldapdb/cyrus-sasl-2.1.28/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/security/cyrus-sasl2-sql/cyrus-sasl-2.1.28/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/sasl2-sys-0.1.12/sasl2/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/security/cyrus-sasl2-srp/cyrus-sasl-2.1.28/lib/
H A Dsaslutil.c92 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)]) macro
210 if (CHAR64(c[0]) == -1 || CHAR64(c[1]) == -1) return SASL_BADPROT; in sasl_decode64()
211 if (c[2] != '=' && CHAR64(c[2]) == -1) return SASL_BADPROT; in sasl_decode64()
212 if (c[3] != '=' && CHAR64(c[3]) == -1) return SASL_BADPROT; in sasl_decode64()
219 *out++ = (CHAR64(c[0]) << 2) | (CHAR64(c[1]) >> 4); in sasl_decode64()
222 *out++ = ((CHAR64(c[1]) << 4) & 0xf0) | (CHAR64(c[2]) >> 2); in sasl_decode64()
225 *out++ = ((CHAR64(c[2]) << 6) & 0xc0) | CHAR64(c[3]); in sasl_decode64()
/dports/security/py-bcrypt/bcrypt-3.2.0/src/_csrc/
H A Dbcrypt.c196 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
209 c1 = CHAR64(*p); in decode_base64()
214 c2 = CHAR64(*(p + 1)); in decode_base64()
222 c3 = CHAR64(*(p + 2)); in decode_base64()
230 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/databases/proftpd-mod_sql_postgres/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/databases/proftpd-mod_sql_odbc/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/databases/proftpd-mod_sql_tds/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/databases/proftpd-mod_sql_sqlite/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/databases/proftpd-mod_sql_mysql/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/net/proftpd-mod_ldap/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/security/proftpd-mod_clamav/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/ftp/proftpd-mod_vroot/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/ftp/proftpd/proftpd-1.3.7c/lib/
H A Dopenbsd-bcrypt.c211 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
224 c1 = CHAR64(*p); in decode_base64()
229 c2 = CHAR64(*(p + 1)); in decode_base64()
237 c3 = CHAR64(*(p + 2)); in decode_base64()
245 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/security/lua-bcrypt/lua-bcrypt-2.1-4/compat/bcrypt/
H A Dbcrypt.c249 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
262 c1 = CHAR64(*p); in decode_base64()
267 c2 = CHAR64(*(p + 1)); in decode_base64()
275 c3 = CHAR64(*(p + 2)); in decode_base64()
283 c4 = CHAR64(*(p + 3)); in decode_base64()
/dports/www/obhttpd/httpd-7.0.20211221/src/lib/libc/crypt/
H A Dbcrypt.c311 #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) macro
324 c1 = CHAR64(*p); in decode_base64()
329 c2 = CHAR64(*(p + 1)); in decode_base64()
337 c3 = CHAR64(*(p + 2)); in decode_base64()
345 c4 = CHAR64(*(p + 3)); in decode_base64()

12