Module Name: krb5 Committed By: raeburn Date: Mon Feb 3 22:09:10 UTC 2003 Modified Files: krb5/src/lib/crypto/ChangeLog krb5/src/lib/crypto/Makefile.in krb5/src/lib/crypto/configure.in krb5/src/lib/crypto/t_nfold.c krb5/src/lib/crypto/vectors.c Added Files: krb5/src/lib/crypto/t_cts.c Removed Files: Log Message Build and link in AES crypto code (but don't define the enctype yet). Build and link in PBKDF2 function. Add ciphertext stealing tests. Update various tests to correspond with IETF crypto draft. * aes: New directory, containing AES implementation from Brian Gladstone, tweaked a little for the krb5 build system. * configure.in: Build its makefile. * Makefile.in (LOCAL_SUBDIRS, LOCALINCLUDES, STOBJLISTS, SUBDIROBJLISTS): Add aes entries. * t_cts.c: New test file. * Makefile.in (EXTRADEPSRCS): Add t_cts. (t_cts$(EXEEXT)): New rule. * Makefile.in (SRCS, OBJS, STLIBOBJS): Add pbkdf2. (EXTRADEPSRCS): Remove pbkdf2.c. (t_pkcs5$(EXEEXT)): Don't list pbkdf2.$(OBJEXT). * t_nfold.c (fold_kerberos): New function. (main): Call it with different lengths. * vectors.c: Include ctype.h and hash_provider.h. (test_nfold, test_mit_des_s2k, test_s2k, test_dr_dk): Test case data now static and const. (test_nfold): Add "Q" and "ba" tests from Simon Josefsson. (GCLEF): New macro. (test_mit_des_s2k): Add GCLEF test case. Fill in "key" at run time, not as initialization. (test_s2k): Added GCLEF test case. (krb5int_enc_aes128, krb5int_enc_aes256): Declare. (combine_keys, test_des3_combine, k5_des3_make_key): Functions deleted. (whoami): New variable. (printd, printk): New functions. (test_pbkdf2): New function. (main): Initialize whoami. Test nfold only for now. To generate a diff of this commit: cvs diff -r5.130 -r5.131 krb5/src/lib/crypto/ChangeLog cvs diff -r1.82 -r1.83 krb5/src/lib/crypto/Makefile.in cvs diff -r1.31 -r1.32 krb5/src/lib/crypto/configure.in cvs diff -r5.5 -r5.6 krb5/src/lib/crypto/t_nfold.c cvs diff -r5.2 -r5.3 krb5/src/lib/crypto/vectors.c cvs diff -r0 -r5.1 krb5/src/lib/crypto/t_cts.c