X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=keysize_descriptor.h;h=aeda6fc39eb9c2d9396766dc63ff8cfaefd71ee5;hb=17332291e15183d71d88ed868275e3cb53917180;hp=39a563e3868f34cbfe9c2dec55bb35e6096d2961;hpb=017345097a7e5e05d7751816d2c8e29af3bacadc;p=avr-crypto-lib.git diff --git a/keysize_descriptor.h b/keysize_descriptor.h index 39a563e..aeda6fc 100644 --- a/keysize_descriptor.h +++ b/keysize_descriptor.h @@ -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) */