aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test.c b/test.c
index 8ccb4e2..3a0ac41 100644
--- a/test.c
+++ b/test.c
@@ -1123,6 +1123,11 @@ check_failures(void)
CHECK("$argon2id$m=128,t=128,p=128$AAAABBBBCCCC");
CHECK("$argon2id$m=128,t=128,p=128$AAAAB-BBCCCC$");
CHECK("$argon2id$m=128,t=128,p=128$AAAABBBBC$");
+ CHECK("$argon2id$m=0128,t=128,p=128$AAAABBBBCCCC$");
+ CHECK("$argon2id$m=128,t=0128,p=128$AAAABBBBCCCC$");
+ CHECK("$argon2id$m=128,t=128,p=0128$AAAABBBBCCCC$");
+ CHECK("$argon2id$v=0$m=128,t=128,p=128$AAAABBBBCCCC$");
+ CHECK("$argon2id$v=016$m=128,t=128,p=128$AAAABBBBCCCC$");
errno = 0;
ctx_st.user_data = &user_data;
user_data.allocate_fail_in = 1;