]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - keysize_descriptor.h
some mor ciphers for the blockcipher abstraction layer
[avr-crypto-lib.git] / keysize_descriptor.h
index 39a563e3868f34cbfe9c2dec55bb35e6096d2961..ecb3761555fb7d4145057256cc8e75108781118a 100644 (file)
@@ -35,6 +35,7 @@
 #define KS_TYPE_RANGE      0x02
 #define KS_TYPE_ARG_RANGE  0x03
 
+#define KS_INT(a) ((a)&0xFF), ((a)>>8)
 
 typedef struct{ /* keysize is valid if listed in items */
        uint8_t  n_items;  /* number of items (value 0 is reserved) */