aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp
Commit message (Collapse)AuthorAgeFilesLines
* Use double dashes so makedepend doesn't misunderstand the flags weRichard Levitte2002-10-091-1/+1
| | | | | | | give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies.
* The OpenBSD project has replaced the first implementation of the /dev/cryptoRichard Levitte2002-10-021-0/+3
| | | | | | | engine with something they claim is better. I have nothing to compare to, and I assume they know what they're talking about. The interesting part with this one is that it's loaded by default on OpenBSD systems. This change was originally introduced in OpenBSD's tracking of OpenSSL.
* 'EC' vs. 'ECDSA'Bodo Möller2002-08-161-1/+1
| | | | Submitted by: Nils Larsch
* Fix block_size field for CFB and OFB modes: it should be 1.Dr. Stephen Henson2002-08-161-6/+6
|
* get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)Bodo Möller2002-08-123-14/+13
| | | | Submitted by: Nils Larsch
* make updateBodo Möller2002-08-091-394/+406
|
* use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller2002-08-074-109/+127
| | | | Submitted by: Nils Larsch
* "make update"Lutz Jänicke2002-07-301-581/+569
|
* Replace 'ecdsaparam' commandline utility by 'ecparam'Bodo Möller2002-07-141-395/+791
| | | | | | | | | | | | | | (the same keys can be used for ECC schemes other than ECDSA) and add some new options. Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS" in 'PEM' format. Fix ec_asn1.c (take into account the desired conversion form). 'make update'. Submitted by: Nils Larsch
* Reorder inclusion of header files:Lutz Jänicke2002-07-103-3/+3
| | | | | | | | | | | | | | | | | des_old.h redefines crypt: #define crypt(b,s)\ DES_crypt((b),(s)) This scheme leads to failure, if header files with the OS's true definition of crypt() are processed _after_ des_old.h was processed. This is e.g. the case on HP-UX with unistd.h. As evp.h now again includes des.h (which includes des_old.h), this problem only came up after this modification. Solution: move header files (indirectly) including e_os.h before the header files (indirectly) including evp.h. Submitted by: Reviewed by: PR:
* Pass CFLAG to dependency makers, so non-standard system include paths areRichard Levitte2002-06-271-1/+1
| | | | | handled properly. Part of PR 75
* A number of includes were removed from evp.h some time ago. The reasonRichard Levitte2002-06-271-0/+54
| | | | | | | | | | | | was that they weren't really needed any more for EVP itself. However, it seems like soma applications (I know about OpenSSH, but there may be more) used evp.h as the 'load all' header file, which makes sense since we try our best to promote the use of EVP instead of the lower level crypto algorithms. Therefore, I put the inclusions back so the application authors don't get too shocked by all the errors they would otherwise get. Thanks to Theo de Raadt for making us aware of this.
* OpenSSL_add_all_algorithms has been replaced by configuration dependentLutz Jänicke2002-06-161-1/+2
| | | | | functions and is redirected by macros. Switch it off now, possible removal later.
* Some more prototype fixes.Lutz Jänicke2002-06-142-0/+3
| | | | | | | Use DECLARE macros in asn1* instead of direct declaration. Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de> Reviewed by: PR: 89
* use sstrsep() to get the proper type to aoti().Richard Levitte2002-06-031-2/+2
| | | | | Remove unneeded cast in ustrsep(). PR: 69
* Add the AES test vectors from NIST document SP800-38A.Richard Levitte2002-05-311-12/+113
|
* Make it possible to give vectors only for decryption or encryption.Richard Levitte2002-05-311-62/+79
|
* For CFB and OFB modes, always create the encryption key.Richard Levitte2002-05-311-1/+3
|
* Declare the CFB and OFB modes for AES, and prepare for a declarationRichard Levitte2002-05-312-0/+30
| | | | of CTR mode.
* Check the return values where memory allocation failures may happen.Richard Levitte2002-05-301-1/+1
| | | | PR: 49
* fix EVP_dsa_sha macroBodo Möller2002-05-161-1/+1
| | | | Submitted by: Nils Larsch
* Zero cipher_data in EVP_CIPHER_CTX_cleanupDr. Stephen Henson2002-05-152-16/+18
| | | | | | | Add cleanup calls to evp_test.c Allow reuse of cipher contexts by removing automatic cleanup in EVP_*Final().
* EVP_SealFinal should return a value.Dr. Stephen Henson2002-05-112-3/+5
|
* Fix CRLF problem in BASE64 decode.Lutz Jänicke2002-04-151-0/+7
|
* fix ECDSA handlingBodo Möller2002-04-091-2/+2
| | | | Submitted by: Nils Larsch
* Ensure EVP_CipherInit() uses the correct encode/decode parameter ifDr. Stephen Henson2002-03-161-2/+8
| | | | | | | | enc == -1 [Reported by Markus Friedl <markus@openbsd.org>] Fix typo in dh_lib.c (use of DSAerr instead of DHerr).
* Initialize cipher context in KRB5Dr. Stephen Henson2002-03-141-1/+1
| | | | | | ("D. Russell" <russelld@aol.net>) Allow HMAC functions to use an alternative ENGINE.
* Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.Bodo Möller2002-03-141-4/+6
| | | | | | Fix dsaparam usage output. Submitted by: Nils Larsch
* Make ciphers and digests obtain an ENGINE functional referenceDr. Stephen Henson2002-03-092-2/+18
| | | | if impl is explicitly supplied.
* VMS addaptation, including a few more long names that needed hacking.Richard Levitte2002-02-281-0/+2
|
* Increase internal security when using strncpy, by making sure the resulting ↵Richard Levitte2002-02-281-0/+3
| | | | string is NUL-terminated
* make update, after moving around symbols in libeay.num to matchRichard Levitte2002-02-261-0/+15
| | | | 0.9.7-stable.
* Updates from stable branch.Dr. Stephen Henson2002-02-231-1/+2
|
* New OPENSSL_LOAD_CONF define to load openssl.cnfDr. Stephen Henson2002-02-234-5/+96
| | | | when OpenSSL_add_all_algorithms() is called.
* Add comfy aliases for AES in CBC mode.Richard Levitte2002-02-201-0/+6
|
* gcc figures that the format specifier %2x means unsigned int, so let'sRichard Levitte2002-02-201-1/+1
| | | | make n unsigned.
* The AES modes OFB and CFB are defined with 128 feedback bits. ThisRichard Levitte2002-02-169-61/+55
| | | | | | | | | deviates from the "standard" 64 bits of feedback that all other algorithms are using. Therefore, let's redo certain EVP macros to accept different amounts of feedback bits for these modes. Also, change e_aes.c to provide all usually available modes for AES. CTR isn't included yet.
* don't call OPENSSL_config(), this does not make any sense during "make test"Bodo Möller2002-02-141-0/+2
|
* ECDSA supportBodo Möller2002-02-137-174/+743
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* 'make update'Richard Levitte2002-02-051-4/+8
|
* Remove blanks at begin of empty lines irritating epv_test.cLutz Jänicke2002-01-261-4/+4
|
* The 'type' parameter, an EVP_MD pointer, represents the type of digestGeoff Thorpe2002-01-251-1/+1
| | | | | | required as well as a default implementation (when no ENGINE provides a replacement implementation). This change makes sure the correct implementation's "init()" handler is used rather than assuming 'type'.
* Keep the NIST AES vectors that were there previously.Richard Levitte2002-01-241-0/+20
|
* make updateRichard Levitte2002-01-241-29/+30
| | | | | libeay.num got tweaked so the old des symbols would retain their positions.
* Use FIPS-197 vectors for AES. The NIST vectors were constructed byRichard Levitte2002-01-211-33/+9
| | | | | reencrypting or redecrypting the ciphertext 10000 times, which of course gives higly different results.
* Add more of the NIST test vectors for AES.Richard Levitte2002-01-211-6/+30
| | | | | For some reason, they give incorrect results with the OpenSSL implementation. I wonder why...
* Constification, add config to /dev/crypto.Ben Laurie2002-01-182-1/+3
|
* fix EVP_CIPHER_mode macroBodo Möller2002-01-041-1/+1
| | | | Submitted by: "Dan S. Camper" <dan@bti.net>
* Because Rijndael is more known as AES, use crypto/aes instead ofRichard Levitte2002-01-022-96/+51
| | | | | | | | | | crypto/rijndael. Additionally, I applied the AES integration patch from Stephen Sprunk <stephen@sprunk.org> and fiddled it to work properly with the normal EVP constructs (and incidently work the same way as all other symmetric cipher implementations). This results in an API that looks a lot like the rest of the OpenSSL cipher suite.
* The block size may be something other than 8!Richard Levitte2002-01-021-4/+5
|