summaryrefslogtreecommitdiffstats
path: root/src/lib/des425/util.c
Commit message (Collapse)AuthorAgeFilesLines
* use const for some des inputs and reduce unnecessary castsKen Raeburn2001-04-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13166 dc483132-0cff-0310-8789-dd5450dbe970
* * des425.h: Deleted to avoid confusion with the other des.h in the tree. AllKen Raeburn2001-04-101-1/+2
| | | | | | | | | | | | | | | | | | | | | files changed to include des_int.h and (the other) des.h instead. * new_rnd_key.c (des_init_random_number_generator): Cast seed data pointer to keep compiler happy. * read_passwd.c (intr_routine, des_read_pw_string): Add prototypes. (des_read_password): Fix call sequence for des_string_to_key. * str_to_key.c (des_string_to_key): Remove static storage in favor of automatic storage. Fix call sequence to des_key_sched. Delete no-op while loop. * t_quad.c (main): Fix call sequence for des_quad_cksum. * verify.c (des_string_to_key, des_key_sched, des_ecb_encrypt, des_cbc_encrypt): Removed declarations. (do_encrypt, do_decrypt): Prototype. Make args point to unsigned char, and return types void. (main): Declare return type. Make automatic var in_length be unsigned long; discard some casts, but cast it when passing to memcmp. Remove extra arg passed to des_cbc_cksum. (flip): Delete unused function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13150 dc483132-0cff-0310-8789-dd5450dbe970
* rename des.h -> des425.hKen Raeburn2001-04-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13149 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-031-7/+1
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* Compiler warning cleanupPaul Park1995-06-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
* read_passwd.c (des_read_pw_string): Don't depend onTheodore Tso1995-06-091-1/+1
| | | | | | | | | | krb5_read_password(); this created a circular dependency in the libraries. This code is now duplicated in des_read_pw_string. util.c (des_cblock_print_file): Fix -Wall nit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5991 dc483132-0cff-0310-8789-dd5450dbe970
* Added new function, des_cblock_print_file(), which is referenced byTheodore Tso1995-05-271-0/+38
libkrb4.a. (Even though it's never used, some OS's demand that all of the references in a shared library have to be resolved.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5906 dc483132-0cff-0310-8789-dd5450dbe970