summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/des/d3_str2ky.c
Commit message (Collapse)AuthorAgeFilesLines
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-137/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Replace des3-md5 with des3-shaRichard Basch1996-05-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7967 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for ENCTYPE_DES3_CBC_RAW (gssapi)Richard Basch1996-03-291-1/+2
| | | | | | des_int.h: added support for CKSUMTYPE_RSA_MD5_DES3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7735 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Windows lint flames. (16bit vs. 32bit issues)Theodore Tso1996-03-211-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7687 dc483132-0cff-0310-8789-dd5450dbe970
* * d3_str2ky.c: Updated to include some of the randomness throughoutRichard Basch1995-12-121-7/+3
| | | | | | | the entire key. The second 3-DES CBC encryption of the block should use an ivec of the last cipher block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7208 dc483132-0cff-0310-8789-dd5450dbe970
* * d3_str2ky.c: Revised 3-DES String-To-Key algorithm to encrypt theRichard Basch1995-12-121-1/+8
| | | | | | folded result twice in the folded key. [Courtesy Uri Blumenthal] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7194 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the description of the algorithm in the commentRichard Basch1995-12-021-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7157 dc483132-0cff-0310-8789-dd5450dbe970
* XOR the last byte of weak keys with 0xf0, according to specRichard Basch1995-12-021-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7156 dc483132-0cff-0310-8789-dd5450dbe970
* Corrected algorithm description at beginning.Richard Basch1995-12-011-16/+26
| | | | | | | Fold input into 168 bits and then expand the result to include odd parity, so as to avoid potentially weakening the key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7145 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure that each DES key is strong. If not, xor first byte with 0xf0Richard Basch1995-11-281-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7140 dc483132-0cff-0310-8789-dd5450dbe970
* Triple-DES support routinesRichard Basch1995-11-281-0/+118
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7127 dc483132-0cff-0310-8789-dd5450dbe970