aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/cbc_enc.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify DES library: ncbc_enc.c wasn't used, but its content was almostBodo Möller1999-06-091-80/+2
| | | | | | | | | | | | | | | | duplicated in cbc_enc.c (without IV updating) and in des_enc.c As pointed out by others on the openssl-dev list, des_cbc_encrypt (without IV updating; defined in cbc_enc.c) exists only for historical reasons: des_ncbc_encrypt should be used instead (and the caller does not have to manually update the IV). If des_cbc_enrypt is not needed for backwards compatibility, the definition of des_ncbc_encrypt should be put back into des_enc.c, and both cbc_enc.c and ncbc_enc.c can be deleted. If des_cbc_encrypt *is* needed for backwards compatibility, its behaviour obviously should not change (i.e., don't add IV updating).
* DES CBC change looks dubious to me.Bodo Möller1999-06-091-0/+6
|
* Oops. Get rid of now incorrect comment.Ben Laurie1999-06-091-2/+0
|
* I keep forgetting to fix this: update the IV! Most important!Ben Laurie1999-06-091-0/+6
|
* Change type of various DES function arguments from des_cblockBodo Möller1999-05-161-2/+2
| | | | | | | | | | | | | | (meaning pointer to char) to des_cblock * (meaning pointer to array with 8 char elements), which allows the compiler to do more typechecking. (The changed argument types were of type des_cblock * back in SSLeay, and a lot of ugly casts were used then to turn them into pointers to elements; but it can be done without those casts.) Introduce new type const_des_cblock -- before, the pointers rather than the elements pointed to were declared const, and for some reason gcc did not complain about this (but some other compilers did).
* Change functions to ANSI C.Ulf Möller1999-04-191-7/+2
|
* Fix ghastly DES declarations, and all consequential warnings.Ben Laurie1999-02-131-8/+7
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-1/+1
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+135