From af9b6b7a3cad157cce95b9f9bd9a95e9cd8f6283 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 20 Jan 2001 13:10:34 +0000 Subject: [PATCH] add some comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12925 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/t_afss2k.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/crypto/des/t_afss2k.c b/src/lib/crypto/des/t_afss2k.c index 23546c75f..8c967f996 100644 --- a/src/lib/crypto/des/t_afss2k.c +++ b/src/lib/crypto/des/t_afss2k.c @@ -63,6 +63,11 @@ do_it (struct test_case *tcase) else salt.length = tcase->saltlen; + /* + * Try passwords with lengths equal to, greater than, and less + * than 8 characters, since the AFS s2k algorithm does + * interesting stuff depending on the length. + */ passwd.data = "My Password"; for (i = 0; i < 12; i++) { passwd.length = i; -- 2.26.2