1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/modules/auth/password/hash
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052)
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>
2023-02-22 14:21:46 -05:00
..
argon2.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
bcrypt.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
common.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
dummy.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
dummy_test.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
hash.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
hash_test.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
pbkdf2.go Use minio/sha256-simd for accelerated SHA256 (#23052) 2023-02-22 14:21:46 -05:00
scrypt.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
setting.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
setting_test.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00