HomeSort by: relevance | last modified time | path
    Searched defs:typemask (Results 1 - 2 of 2) sorted by relevancy

  /src/lib/libtelnet/
auth.c 81 #define typemask(x) (1<<((x)-1)) macro
159 i_support |= typemask(ap->type);
178 i_wont_support |= typemask(x);
196 *maskp = typemask(x);
227 if ((mask & (i = typemask(ap->type))) != 0)
270 if ((mask & (i = typemask(ap->type))) != 0)
274 (i_wont_support & typemask(ap->type)) ?
296 if (i_support & ~i_wont_support & typemask(ap->type)) {
365 if ((i_support & ~i_wont_support) & typemask(*auth_send_data)) {
encrypt.c 92 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) macro
94 static long i_support_encrypt = typemask(ENCTYPE_DES_CFB64)
95 | typemask(ENCTYPE_DES_OFB64);
96 static long i_support_decrypt = typemask(ENCTYPE_DES_CFB64)
97 | typemask(ENCTYPE_DES_OFB64);
143 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & typemask(type)))
155 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & typemask(type)))
198 i_support_encrypt |= typemask(ep->type);
199 i_support_decrypt |= typemask(ep->type);
200 if ((i_wont_support_decrypt & typemask(ep->type)) == 0
    [all...]

Completed in 13 milliseconds