openssl/crypto/evp
Dr. Stephen Henson 0e1dba934f 1. Changes for s_client.c to make it return non-zero exit code in case
of handshake failure

2. Changes to x509_certificate_type function (crypto/x509/x509type.c) to
make it recognize GOST certificates as EVP_PKT_SIGN|EVP_PKT_EXCH
(required for s3_srvr to accept GOST client certificates).

3. Changes to EVP
	- adding of function EVP_PKEY_CTX_get0_peerkey
	- Make function EVP_PKEY_derive_set_peerkey work for context with
	  ENCRYPT operation, because we use peerkey field in the context to
	  pass non-ephemeral secret key to GOST encrypt operation.
	- added EVP_PKEY_CTRL_SET_IV control command. It is really
	  GOST-specific, but it is used in SSL code, so it has to go
	  in some header file, available during libssl compilation

4. Fix to HMAC to avoid call of OPENSSL_cleanse on undefined data

5. Include des.h if KSSL_DEBUG is defined into some libssl files, to
  make debugging output which depends on constants defined there, work
  and other KSSL_DEBUG output fixes

6. Declaration of real GOST ciphersuites, two authentication methods
   SSL_aGOST94 and SSL_aGOST2001 and one key exchange method SSL_kGOST

7. Implementation  of these methods.

8. Support for sending unsolicited serverhello extension if GOST
  ciphersuite is selected. It is require for interoperability with
  CryptoPro CSP 3.0 and 3.6 and controlled by
  SSL_OP_CRYPTOPRO_TLSEXT_BUG constant.
  This constant is added to SSL_OP_ALL, because it does nothing, if
  non-GOST ciphersuite is selected, and all implementation of GOST
  include compatibility with CryptoPro.

9. Support for CertificateVerify message without length field. It is
   another CryptoPro bug, but support is made unconditional, because it
   does no harm for draft-conforming implementation.

10. In tls1_mac extra copy of stream mac context is no more done.
  When I've written currently commited code I haven't read
  EVP_DigestSignFinal manual carefully enough and haven't noticed that
  it does an internal digest ctx copying.

This implementation was tested against
1. CryptoPro CSP 3.6 client and server
2. Cryptopro CSP 3.0 server
2007-10-26 12:06:36 +00:00
..
.cvsignore
bio_b64.c
bio_enc.c
bio_md.c Don't copy from a nonexistent next. Coverity ID 47. 2007-04-05 17:23:51 +00:00
bio_ok.c
c_all.c
c_allc.c Add SEED encryption algorithm. 2007-04-23 23:48:59 +00:00
c_alld.c
digest.c Copy update callback across when copying EVP_MD_CTX. 2007-04-12 13:02:31 +00:00
e_aes.c
e_bf.c
e_camellia.c Fix C++ style comments, change assert to OPENSSL_assert, stop warning with 2006-08-31 20:56:20 +00:00
e_cast.c
e_des3.c
e_des.c as we encrypt every bit separately we need to loop through the number 2006-04-20 13:11:52 +00:00
e_dsa.c
e_idea.c
e_null.c
e_old.c
e_rc2.c Add PRF preference ctrl to ciphers. 2006-05-15 18:35:13 +00:00
e_rc4.c
e_rc5.c
e_seed.c Add SEED encryption algorithm. 2007-04-23 23:48:59 +00:00
e_xcbc_d.c
encode.c Bunch of constifications. 2007-10-13 15:51:32 +00:00
evp_acnf.c
evp_enc.c Constify version strings and some structures. 2007-01-21 13:07:17 +00:00
evp_err.c New function EVP_PKEY_asn1_copy(). Use default MD if type param is NULL. 2007-05-15 23:52:03 +00:00
evp_key.c
evp_lib.c Handle NULL parameter in some EVP utility functions. 2007-05-31 12:39:21 +00:00
evp_locl.h EVP_*_cfb1 was broken. 2007-07-08 19:14:02 +00:00
evp_pbe.c Constify version strings and some structures. 2007-01-21 13:07:17 +00:00
evp_pkey.c Complete EVP_PKEY_ASN1_METHOD ENGINE support. 2006-06-05 11:52:46 +00:00
evp_test.c Add SEED encryption algorithm. 2007-04-23 23:48:59 +00:00
evp.h 1. Changes for s_client.c to make it return non-zero exit code in case 2007-10-26 12:06:36 +00:00
evptests.txt Add SEED encryption algorithm. 2007-04-23 23:48:59 +00:00
m_dss1.c
m_dss.c
m_ecdsa.c
m_md2.c
m_md4.c
m_md5.c
m_mdc2.c
m_null.c
m_ripemd.c
m_sha1.c add support for ecdsa-with-sha256 etc. 2006-12-20 08:58:54 +00:00
m_sha.c
m_sigver.c New function EVP_PKEY_asn1_copy(). Use default MD if type param is NULL. 2007-05-15 23:52:03 +00:00
m_wp.c
Makefile Add SEED encryption algorithm. 2007-04-23 23:48:59 +00:00
names.c Fix various warnings. 2006-11-08 09:45:12 +00:00
openbsd_hw.c
p5_crpt2.c Code tidy. 2006-05-18 18:06:03 +00:00
p5_crpt.c Change builting PBE to use static table. Add entries for HMAC and MD5, GOST. 2006-05-15 17:34:36 +00:00
p_dec.c
p_enc.c
p_lib.c Typos(?) in HEAD/crypto/evp/p_lib.c. 2006-07-04 20:27:44 +00:00
p_open.c
p_seal.c
p_sign.c Fix warnings. 2006-05-24 13:29:32 +00:00
p_verify.c
pmeth_fn.c 1. Changes for s_client.c to make it return non-zero exit code in case 2007-10-26 12:06:36 +00:00
pmeth_gn.c New -mac and -macopt options to dgst utility. Reimplement -hmac option in 2007-04-11 17:20:40 +00:00
pmeth_lib.c 1. Changes for s_client.c to make it return non-zero exit code in case 2007-10-26 12:06:36 +00:00