Cleans up Argon2 (#141)

This commit is contained in:
Kamron Batman 2020-05-24 19:13:19 -07:00 • committed by GitHub
parent 5d51e97c52
commit f957a1dd5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 39 deletions

View file

@ -102,10 +102,10 @@ namespace System.Security.Cryptography
);
[DllImport("libargon2", EntryPoint = "argon2_verify")]
internal static extern unsafe Argon2Error crypto_argon2_verify(in byte encoded, in byte pwd, int pwdlen, int type);
internal static extern Argon2Error crypto_argon2_verify(in byte encoded, in byte pwd, int pwdlen, int type);
[DllImport("libargon2", EntryPoint = "decode_string")]
internal static extern unsafe Argon2Error crypto_decode_string(Argon2Context ctx, in byte str, int type);
internal static extern Argon2Error crypto_decode_string(Argon2Context ctx, in byte str, int type);
}
}
}