Searched refs:nprng (Results 1 – 1 of 1) sorted by relevance
10 prng_state nprng; in cipher_hash_test() local25 DO(prng_descriptor[x].start(&nprng)); in cipher_hash_test()26 DO(prng_descriptor[x].add_entropy((unsigned char *)"helloworld12", 12, &nprng)); in cipher_hash_test()27 DO(prng_descriptor[x].ready(&nprng)); in cipher_hash_test()29 DO(prng_descriptor[x].pexport(buf, &n, &nprng)); in cipher_hash_test()30 prng_descriptor[x].done(&nprng); in cipher_hash_test()31 DO(prng_descriptor[x].pimport(buf, n, &nprng)); in cipher_hash_test()32 DO(prng_descriptor[x].ready(&nprng)); in cipher_hash_test()33 if (prng_descriptor[x].read(buf, 100, &nprng) != 100) { in cipher_hash_test()37 prng_descriptor[x].done(&nprng); in cipher_hash_test()