Hi Nettle folks-- I'm wondering if there's an expectation of repeatable RSA key generation across different versions of libnettle.
In particular, assuming a statically-seeded PRNG (e.g. seeding with a
fixed number of bytes from /dev/zero), should I be able to call
rsa_generate_keypair() and have it return a predictable result, even
across versions of libnettle?
Obviously, replicability is *not* what you'd want for production; but
for testing, it can be a very handy feature.
Right now, i'm trying with a statically-seeded yarrow256_ctx PRNG
against version 2.0 of nettle, and seeing a different key returned from
rsa_generate_keypair() that i see with version 2.1 of nettle.
Should this variation be expected? has the use of random numbers (or
other parts of the algorithm) changed significantly for
rsa_generate_keypair() between releases?
--dkg
signature.asc
Description: OpenPGP digital signature
_______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
