X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..8276a9c565bc29afbc6cc120dfde0801c06c2bbd:/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@ --- *