restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
943 stars 140 forks source link

Use Minio's optimized SHA-256 #163

Closed buschjost closed 3 years ago

buschjost commented 3 years ago

What is the purpose of this change? What does it change?

This switches the SHA256 verification to Minios optimized library. This results in improved throughput for many processors. This is the same library that is also used in Restic (see https://github.com/restic/restic/pull/2709 )

Was the change discussed in an issue or in the forum before?

Shortly as remark in https://github.com/restic/rest-server/pull/130 where the verification of uploaded files was introduced.

Checklist

I did not include a Changelog entry as this just improves an unreleased feature. But I can add one.