X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=blockcipher_descriptor.h;h=1fbeab8d04dba7e65573eadc852e8be94e79eee6;hp=a58ad8a05506eb5feb998dc7c714eec3938b9ed7;hb=ac564028e573ea773530e01f1e5a3fe58fcd40a0;hpb=e5a49deb52521f019e37779d6e9d81ec4f02aba4 diff --git a/blockcipher_descriptor.h b/blockcipher_descriptor.h index a58ad8a..1fbeab8 100644 --- a/blockcipher_descriptor.h +++ b/blockcipher_descriptor.h @@ -63,8 +63,8 @@ typedef union{ } bc_dec_fpt; #define BC_INIT_TYPE 0x01 -#define BC_INIT_TYPE_1 0x00 -#define BC_INIT_TYPE_2 0x01 +#define BC_INIT_TYPE_1 0x00 /* for fix keylength */ +#define BC_INIT_TYPE_2 0x01 /* keylength is passed as second parameter */ #define BC_ENC_TYPE 0x02 #define BC_ENC_TYPE_1 0x00