summaryrefslogtreecommitdiff
path: root/tests/fuzz/api/scrypt.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-18 13:45:15 -0300
committerEuAndreh <eu@euandre.org>2024-10-18 18:04:41 -0300
commit804ca010dd354ff30e12dbf2c40dcb83e9820918 (patch)
tree434bd43a59308089c1de4e38fb6980fc61a3f9c4 /tests/fuzz/api/scrypt.go
parentAdd baseline functional test, fuzz target and benchmark (diff)
downloadscrypt-804ca010dd354ff30e12dbf2c40dcb83e9820918.tar.gz
scrypt-804ca010dd354ff30e12dbf2c40dcb83e9820918.tar.xz
Remove Go code in favor of upstream libscrypt-kdf
Adapt build to handle cgo shenanigans.
Diffstat (limited to '')
-rw-r--r--tests/fuzz/api/scrypt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzz/api/scrypt.go b/tests/fuzz/api/scrypt.go
index eb29d2d..8e785a5 100644
--- a/tests/fuzz/api/scrypt.go
+++ b/tests/fuzz/api/scrypt.go
@@ -10,7 +10,7 @@ import (
func api(f *testing.F) {
f.Fuzz(func(t *testing.T, password []byte, salt []byte) {
- if len(salt) < saltMinLength {
+ if len(salt) < _SALT_MIN_LENGTH {
return
}