From: bg Date: Sat, 19 Jul 2008 01:53:17 +0000 (+0000) Subject: fixing a bug in the DES testing code X-Git-Url: https://git.cryptolib.org/?a=commitdiff_plain;h=7ee23ee6d9bfa071d4a24b7646fc989c90144104;p=avr-crypto-lib.git fixing a bug in the DES testing code --- diff --git a/main-des-test.c b/main-des-test.c index 4822c54..6a0e428 100644 --- a/main-des-test.c +++ b/main-des-test.c @@ -57,7 +57,7 @@ void testrun_nessie_des(void){ nessie_bc_ctx.blocksize_B = 8; nessie_bc_ctx.keysize_b = 64; nessie_bc_ctx.name = cipher_name; - nessie_bc_ctx.ctx_size_B = sizeof(8); + nessie_bc_ctx.ctx_size_B = 8; nessie_bc_ctx.cipher_enc = (nessie_bc_enc_fpt)des_enc_dummy; nessie_bc_ctx.cipher_dec = (nessie_bc_dec_fpt)des_dec_dummy; nessie_bc_ctx.cipher_genctx = (nessie_bc_gen_fpt)des_init_dummy;