Use memory mapping when verifying signatures
Previously, EdDSA validation read the entire file into memory to validate its signature. So did winsparkle-tool for both signing and verifying. DSA validation instead streamed the file in chunks and updated the hash. Replace both with unified code that maps the file into memory and then processed it as a single memory block.
V
Václav Slavík committed
3b06dab1088ad65385ab83dadd5b27f7cf8729f1
Parent: b8181c9