Lines Matching defs:typemask
101 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
104 | typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
107 | typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
153 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & (unsigned)typemask(type)))
165 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & (unsigned)typemask(type)))
207 i_support_encrypt |= typemask(ep->type);
208 i_support_decrypt |= typemask(ep->type);
209 if ((i_wont_support_decrypt & typemask(ep->type)) == 0)
263 i_wont_support_decrypt |= typemask(ep->type);
269 i_wont_support_encrypt |= typemask(ep->type);
295 i_wont_support_decrypt &= ~typemask(ep->type);
300 i_wont_support_encrypt &= ~typemask(ep->type);
500 (I_SUPPORT_ENCRYPT & typemask(type))) {
501 remote_supports_decrypt |= typemask(type);
532 remote_supports_encrypt |= typemask(type);