]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - keysize_descriptor.h
renaming to AVR-Crypto-Lib
[avr-crypto-lib.git] / keysize_descriptor.h
index 39a563e3868f34cbfe9c2dec55bb35e6096d2961..aeda6fc39eb9c2d9396766dc63ff8cfaefd71ee5 100644 (file)
@@ -1,6 +1,6 @@
 /* keysize_descriptor.h */
 /*
-    This file is part of the Crypto-avr-lib/microcrypt-lib.
+    This file is part of the This file is part of the AVR-Crypto-Lib.
     Copyright (C) 2009  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -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) */