base/keysz.[ch]: Add a flag to say that arguments are 16 bits wide.
[catacomb] / base / keysz.h
index 97ed144..b83203b 100644 (file)
  *   * @KSZ_SET@ requires that %$k \in {\,a_i\,}$%.
  */
 
+#define KSZ_OPMASK 0x1f                        /* Kinds of keysize specs */
 enum {
   KSZ_ANY,                             /* Allows any key at all */
   KSZ_RANGE,                           /* Allows keys within a range */
-  KSZ_SET                              /* Allows specific sizes of keys */
+  KSZ_SET,                             /* Allows specific sizes of keys */
 };
 
+#define KSZ_16BIT 0x20                 /* Arguments are 16 bits long */
+
 /*----- Key sizes for symmetric algorithms --------------------------------*/
 
 /* --- @keysz@ --- *