fixing a bug in the DES testing code

This commit is contained in:
bg 2008-07-19 01:53:17 +00:00
parent dd02da3bd4
commit 7ee23ee6d9
1 changed files with 1 additions and 1 deletions

View File

@ -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;