summaryrefslogtreecommitdiffstats
path: root/src/lib/des425/new_rnd_key.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove krb524, lib/des425, lib/krb4, and include/kerberosIV.Greg Hudson2008-12-181-96/+0
| | | | | | | | | | Remove krb4 build system references and conditionals. Move des425 header stuff referenced by des_int.h into des_int.h. Remove krb4 test cases. ticket: 6303 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21544 dc483132-0cff-0310-8789-dd5450dbe970
* * mac_des_glue.c, des.c, enc_dec.c, key_sched.c, str_to_key.c: Move KfM des ↵Alexandra Ellwood2003-03-061-24/+0
| | | | | | functions into their own file. They are all deprecated on KfM and shouldn't even get built on stock krb5 builds. * read_passwd.c: Added warning comment that des_read_pw_string is an exported function on KfM, so we should not change its ABI git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15250 dc483132-0cff-0310-8789-dd5450dbe970
* Fix DES_INT32 definitionTom Yu2002-09-271-0/+25
| | | | | | | | | | | | Intial merge of KfM des library API. Update krb.h to use offsets from krb_err.et constants as error codes. Fix up definitions of KRB4_32, KRB_INT32, KRB_UINT32. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14904 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn2001-10-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* remove some outdated commentsKen Raeburn2001-04-101-15/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13167 dc483132-0cff-0310-8789-dd5450dbe970
* * des425.h: Deleted to avoid confusion with the other des.h in the tree. AllKen Raeburn2001-04-101-3/+3
| | | | | | | | | | | | | | | | | | | | | 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
* copyright notice updates from 1.1 branchKen Raeburn1999-09-241-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-77/+47
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-061-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* * new_rnd_key.c (des_set_sequence_number): Change cast fromEzra Peisach1996-08-231-1/+1
| | | | | | | | | | | | krb5_octet to char * to match prototype. * des.c (des_ecb_encrypt): Add const keyword in cast to make suncc happy. The sun C compiler gets upset if we cast and are missing a const or we to unsigned char * vs char *.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8969 dc483132-0cff-0310-8789-dd5450dbe970
* Copy sizeof(mit_des_cblock), not sizeof(key) so that we are getting theRichard Basch1996-05-111-1/+1
| | | | | | full DES key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7979 dc483132-0cff-0310-8789-dd5450dbe970
* Use the revamped random number routinesRichard Basch1996-05-071-27/+37
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7913 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-5/+5
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* Changes in des425 due to adding prototypes for called functionsKeith Vetter1995-03-151-11/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5129 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-221-15/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-6/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***John Kohl1991-03-141-0/+129
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1890 dc483132-0cff-0310-8789-dd5450dbe970