- nessie_bc_init();
- nessie_bc_ctx.blocksize_B = 16;
- nessie_bc_ctx.keysize_b = 128;
- nessie_bc_ctx.name = algo_name;
- nessie_bc_ctx.ctx_size_B = sizeof(rc6_ctx_t);
- nessie_bc_ctx.cipher_enc = (nessie_bc_enc_fpt)rc6_enc;
- nessie_bc_ctx.cipher_dec = (nessie_bc_dec_fpt)rc6_dec;
- nessie_bc_ctx.cipher_free = (nessie_bc_free_fpt)rc6_free;
- nessie_bc_ctx.cipher_genctx = (nessie_bc_gen_fpt)rc6_init;
-
- nessie_bc_run();
-
- nessie_bc_ctx.keysize_b = 192;
- nessie_bc_run();
-
- nessie_bc_ctx.keysize_b = 256;
- nessie_bc_run();
-