Re:How to defeat Ed25519 and EdDSA using faults
by loup-vaillant on Friday October 06, 2017 @10:20AM
(#15416970)
> Shouldn't the "message" being signed by EdDSA (or others like RSA) be a hash of the real data?
It could be, and that's what I currently recommend. But then isn't there a problem with collision attacks? Or does one still has to perform a pre-image attack on the hashes of previous messages?
I think the idea with the ordering of the inputs to the hash functions was to always put the most secret data first, to make things harder for the attacker. It was probably expected that the "message" would always be small, like it must be with for instance RSA.