Diff
Not logged in

Differences From Artifact [9f37c68384]:

To Artifact [32f3239d4a]:


347
348
349
350
351
352
353
354

355
356
357
358
359
360
361
362
363
364
               });
    }

    #[bench]
    fn bench_verify(b: &mut test::Bencher) {
        assert!(::init());
        let (pk, sk) = gen_keypair();
        let sms: Vec<Vec<u8>> = BENCH_SIZES.iter()

            .map(|s| {
                     let m = randombytes(*s);
                     sign(&m, &sk)
                 })
            .collect();
        b.iter(|| for sm in sms.iter() {
                   verify(sm, &pk);
               });
    }
}







|
>










347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
               });
    }

    #[bench]
    fn bench_verify(b: &mut test::Bencher) {
        assert!(::init());
        let (pk, sk) = gen_keypair();
        let sms: Vec<Vec<u8>> = BENCH_SIZES
            .iter()
            .map(|s| {
                     let m = randombytes(*s);
                     sign(&m, &sk)
                 })
            .collect();
        b.iter(|| for sm in sms.iter() {
                   verify(sm, &pk);
               });
    }
}