gitea/modules/avatar
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 ()
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>
..
identicon Use minio/sha256-simd for accelerated SHA256 ()
testdata Improve handling of non-square avatars ()
avatar.go Implement FSFE REUSE for golang files ()
avatar_test.go Implement FSFE REUSE for golang files ()
hash.go Use minio/sha256-simd for accelerated SHA256 ()