Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use minio/sha256-simd for accelerated SHA256 (#23052) | zeripath | 2023-02-22 | 1 | -1/+2 |
| | | | | | | | | | | | | minio/sha256-simd provides additional acceleration for SHA256 using AVX512, SHA Extensions for x86 and ARM64 for ARM. It provides a drop-in replacement for crypto/sha256 and if the extensions are not available it falls back to standard crypto/sha256. --------- Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: John Olheiser <john.olheiser@gmail.com> | ||||
* | Unify hashing for avatar (#22289) | Gusted | 2023-01-02 | 1 | -0/+28 |
- Unify the hashing code for repository and user avatars into a function. - Use a sane hash function instead of MD5. - Only require hashing once instead of twice(w.r.t. hashing for user avatar). - Improve the comment for the hashing code of why it works. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Yarden Shoham <hrsi88@gmail.com> |