summaryrefslogtreecommitdiffstats
path: root/crypto/des/rand_key.c
AgeCommit message (Collapse)Author
2000-03-19cleanup.Ulf Möller
2000-02-05Generate just one error code if iterated SSL_CTX_get() fails.Bodo Möller
Avoid enabled 'assert()' in production library.
2000-02-05Replace ridiculous libdes PRNG with RAND_bytes. These functions are notUlf Möller
used anywhere in OpenSSL, but might be used by libdes applications.
1999-12-03Add functions des_set_key_checked, des_set_key_unchecked.Bodo Möller
Never use des_set_key (it depends on the global variable des_check_key), but usually des_set_key_unchecked. Only destest.c bothered to look at the return values of des_set_key, but it did not set des_check_key -- if it had done so, most checks would have failed because of wrong parity and because of weak keys.
1999-05-16Change type of various DES function arguments from des_cblockBodo Möller
(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).
1999-04-19Change functions to ANSI C.Ulf Möller
1999-02-13Fix ghastly DES declarations, and all consequential warnings.Ben Laurie
1998-12-21Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall
1998-12-21Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall