X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/a905c0d66f0cb9d58a897a27233be1881c246a0d..c77f9bb925046e634f0ca3fb2ca45a27dc71a3a9:/base/keysz.h diff --git a/base/keysz.h b/base/keysz.h index 97ed144e..b83203b9 100644 --- a/base/keysz.h +++ b/base/keysz.h @@ -55,12 +55,15 @@ * * @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@ --- *