added key_gen_time test: 256, 1000