On Thu, 2016-08-04 at 09:53 +0200, Niels Möller wrote:
My main concern is that rsa_private_key_prepare() multiplies q and p,
I don't quite like that either, but I don't think it matters much for performance. The time for that multiplication is only a tiny fraction of the time needed to create a single signature.
That's correct, but it still bugs me as a cost that gets added into busy servers. What about adding a version of prepare that takes both the public key and the pubkey as in the attached patch?
regards, Nikos