nisse@lysator.liu.se (Niels Möller) writes:
I'm considering the below patch. I think there's room for further improvement, maybe splitting the h_to_a method up (it's called with op == 0, and with op == 2 from the ecdsa, but never with op == 1). Maybe adding a some ecc_mod_canonical function. But deleting this unneeded code right away seems like an improvement in itself.
Now pushed to master-updates.
Regards, /Niels