summaryrefslogtreecommitdiff
path: root/tests/functional/hash-and-check/scrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/hash-and-check/scrypt.go')
-rw-r--r--tests/functional/hash-and-check/scrypt.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/hash-and-check/scrypt.go b/tests/functional/hash-and-check/scrypt.go
index 065b9b5..9eeeb22 100644
--- a/tests/functional/hash-and-check/scrypt.go
+++ b/tests/functional/hash-and-check/scrypt.go
@@ -14,14 +14,14 @@ func MainTest() {
salt = []byte("a fixed salt____________________")
)
- hashInput := HashInput{
+ hashInput := HashInputT{
Password: password,
Salt: salt,
}
hash, err := Hash(hashInput)
g.TErrorIf(err)
- checkInput := CheckInput{
+ checkInput := CheckInputT{
Password: password,
Salt: salt,
Hash: hash,
@@ -38,14 +38,14 @@ func MainTest() {
salt, err := Salt()
g.TErrorIf(err)
- hashInput := HashInput{
+ hashInput := HashInputT{
Password: password,
Salt: salt,
}
hash, err := Hash(hashInput)
g.TErrorIf(err)
- checkInput := CheckInput{
+ checkInput := CheckInputT{
Password: password,
Salt: salt,
Hash: hash,