mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Complete 08c0e03f83
This commit is contained in:
@@ -321,9 +321,8 @@ int main(void)
|
||||
printf("pwhash_str_verify(invalid(9)) failure\n");
|
||||
}
|
||||
assert(crypto_pwhash_bytes_min() > 0U);
|
||||
assert(crypto_pwhash_bytes_max() > 0U);
|
||||
assert(crypto_pwhash_passwd_min() > 0U);
|
||||
assert(crypto_pwhash_passwd_max() > 0U);
|
||||
assert(crypto_pwhash_bytes_max() > crypto_pwhash_bytes_min());
|
||||
assert(crypto_pwhash_passwd_max() > crypto_pwhash_passwd_min());
|
||||
assert(crypto_pwhash_saltbytes() > 0U);
|
||||
assert(crypto_pwhash_strbytes() > 1U);
|
||||
assert(crypto_pwhash_strbytes() > strlen(crypto_pwhash_strprefix()));
|
||||
|
||||
@@ -331,9 +331,8 @@ int main(void)
|
||||
|
||||
assert(str_out[crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1U] == 0);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_bytes_min() > 0U);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_bytes_max() > 0U);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_passwd_min() > 0U);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_passwd_max() > 0U);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_bytes_max() > crypto_pwhash_scryptsalsa208sha256_bytes_min());
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_passwd_max() > crypto_pwhash_scryptsalsa208sha256_passwd_min());
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_saltbytes() > 0U);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_strbytes() > 1U);
|
||||
assert(crypto_pwhash_scryptsalsa208sha256_strbytes() >
|
||||
|
||||
Reference in New Issue
Block a user