summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/des/random_key.c
Commit message (Collapse)AuthorAgeFilesLines
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-95/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Don't do more than the necessary encryptions for a single cblock lengthRichard Basch1996-05-071-4/+5
| | | | | | | random key. Only the larger cblocks need a second wrap-around cbc encrypt to prevent leaking a codebook. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7922 dc483132-0cff-0310-8789-dd5450dbe970
* New DES random number generation. For regular DES, it is nearly equivalentRichard Basch1996-05-071-10/+52
| | | | | | | | | (an extra DES encryption now happens). For 3des, it is a substantially better setup (the original one was a placeholder); it may not be the final one, but at least it is not as weak as the previous version. (This checkin does not include the proposed API changes.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7911 dc483132-0cff-0310-8789-dd5450dbe970
* Reintegrate the keytype -> enctype changesEzra Peisach1995-09-121-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6755 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-111-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h, destest.c, init_rkey.c, random_key.c, string2key.cChris Provenzano1995-09-061-1/+1
| | | | | | * verify.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6712 dc483132-0cff-0310-8789-dd5450dbe970
* * destest.c, random_key.c, string2key.c, verify.c : Remove krb5_enctypeChris Provenzano1995-09-061-2/+1
| | | | | | | | references, and replace with krb5_keytype where appropriate. * init_rkey.c (mit_des_init_random_key()), * string2key.c (mit_des_string_to_key()) : Allow for any DES keytype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6676 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-1/+1
| | | | | | | | | 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
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-211-1/+2
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* * cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,John Gilmore1995-01-261-6/+2
| | | | | | | | fin_rndkey.c, finish_key.c, init_rkey.c, key_sched.c, new_rn_key.c, process_ky.c, random_key.c, string2key.c, verify.c, weak_key.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4848 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARGChris Provenzano1995-01-131-6/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4809 dc483132-0cff-0310-8789-dd5450dbe970
* Change internal calling signature to pass in the encryption block, soTheodore Tso1994-11-081-1/+5
| | | | | | | that the encryption type in the keyblock structure can be properly initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4649 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 use of xfree to krb5_xfree to prevent namespace pollutionTheodore Tso1993-10-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2670 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
* update copyright noticesJohn Kohl1991-02-191-4/+3
| | | | | | use xfree rather than free((char *)) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1725 dc483132-0cff-0310-8789-dd5450dbe970
* fix RCSID'sJohn Kohl1990-09-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1130 dc483132-0cff-0310-8789-dd5450dbe970
* include file fix-upsJohn Kohl1990-05-231-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@911 dc483132-0cff-0310-8789-dd5450dbe970
* name/prototype cleanupJohn Kohl1990-05-171-6/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@882 dc483132-0cff-0310-8789-dd5450dbe970
* change names to mit_des_*John Kohl1990-05-101-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@832 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***edg1990-05-101-0/+50
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@822 dc483132-0cff-0310-8789-dd5450dbe970