summaryrefslogtreecommitdiffstats
path: root/crypto/evp/pmeth_lib.c
AgeCommit message (Collapse)Author
2011-10-11update pkey method initialisation and copyDr. Stephen Henson
2010-11-24add "missing" functions to copy EVP_PKEY_METHOD and examine infoDr. Stephen Henson
2010-11-16If EVP_PKEY structure contains an ENGINE the key is ENGINE specific andDr. Stephen Henson
we should use its method instead of any generic one.
2010-05-03PR: 2244Dr. Stephen Henson
Submitted By: "PMHager" <hager@dortmund.net> Initialise pkey callback to 0.
2010-02-08Make CMAC API similar to HMAC API. Add methods for CMAC.Dr. Stephen Henson
2009-04-26Update from 1.0.0-stable.Dr. Stephen Henson
2009-04-23Merge from 1.0.0-stable branch.Dr. Stephen Henson
2009-02-15Make no-engine work again.Dr. Stephen Henson
2009-02-15Use new common flags and fix resulting warnings.Ben Laurie
2008-11-05Update obsolete email address...Dr. Stephen Henson
2008-10-22Create function of the form OBJ_bsearch_xxx() in bsearch typesafe macrosDr. Stephen Henson
with the appropriate parameters which calls OBJ_bsearch(). A compiler will typically inline this. This avoids the need for cmp_xxx variables and fixes unchecked const issues with CHECKED_PTR_OF()
2008-10-20Fix a shed load or warnings:Dr. Stephen Henson
Duplicate const. Use of ; outside function.
2008-10-12Type-checked (and modern C compliant) OBJ_bsearch.Ben Laurie
2008-07-04Avoid warnings with -pedantic, specifically:Dr. Stephen Henson
Conversion between void * and function pointer. Value computed not used. Signed/unsigned argument.
2008-06-04More type-checking.Ben Laurie
2007-10-261. Changes for s_client.c to make it return non-zero exit code in caseDr. Stephen Henson
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-04-11Experimental HMAC support via EVP_PKEY_METHOD.Dr. Stephen Henson
2007-02-26allow EVP_PKEY_CTX_free(NULL)Nils Larsch
2006-06-27Fix EVP_PKEY_CTX_dup() to return correct value and handle NULL keys inDr. Stephen Henson
the source.
2006-06-05Complete EVP_PKEY_ASN1_METHOD ENGINE support.Dr. Stephen Henson
2006-06-02Extend default method string to include public key methods.Dr. Stephen Henson
Add missing prototypes. Fix engine method lookup.
2006-06-02Typo.Dr. Stephen Henson
2006-06-02Add ENGINE support for EVP_PKEY_METHOD including lookups of ENGINEDr. Stephen Henson
implementations and functional reference counting when a context is allocated, free or copied.
2006-05-31New pkey functions for keygen callbacks and retrieving operation type.Dr. Stephen Henson
2006-05-24New function to dup EVP_PKEY_CTX. This will be needed to make new signingDr. Stephen Henson
functions and EVP_MD_CTX_copy work properly.
2006-05-24Use size_t for new crypto size parameters.Dr. Stephen Henson
2006-04-26Add prototypes and pkey accessor function for EVP_PKEY_CTX.Dr. Stephen Henson
2006-04-17Fix (most) WIN32 warnings and errors.Dr. Stephen Henson
2006-04-16Provisional support for EC pkey method, supporting ECDH and ECDSA.Dr. Stephen Henson
2006-04-15Use more flexible method of determining output length, by setting &outlenDr. Stephen Henson
value of the passed output buffer is NULL. The old method of using EVP_PKEY_size(pkey) isn't flexible enough to cover all cases where the output length may depend on the operation or the parameters associated with it.
2006-04-14Add functions to allow setting and adding external EVP_PKEY_METHOD.Dr. Stephen Henson
2006-04-13Complete key derivation support.Dr. Stephen Henson
2006-04-13Add key derivation support.Dr. Stephen Henson
2006-04-12Extend DH ASN1 method, add DH EVP_PKEY_METHOD.Dr. Stephen Henson
2006-04-12Initial DSA EVP_PKEY_METHOD. Fixup some error codes.Dr. Stephen Henson
2006-04-11Initial keygen support.Dr. Stephen Henson
2006-04-10Change operation values so they can be used as a mask.Dr. Stephen Henson
Fix rsa_pkey_method.
2006-04-09Store digests as EVP_MD instead of a NID.Dr. Stephen Henson
Add digest size sanity checks.
2006-04-09Support for digest signing and X931 in rsa_pkey_meth.Dr. Stephen Henson
2006-04-09Add RSA ctrl for padding mode, add ctrl support in pkeyutl.Dr. Stephen Henson
2006-04-07New utility 'pkeyutl' a general purpose version of 'rsautl'.Dr. Stephen Henson
2006-04-07Include EVP_PKEY argument in EVP_PKEY_CTX_new(). This avoids theDr. Stephen Henson
need for a separate EVP_PKEY parameter in the other operation initialization routines.
2006-04-07Initial functions for main EVP_PKEY_METHOD operations.Dr. Stephen Henson
No method implementations yet.
2006-04-06Updated to EVP_PKEY_METHOD code... still doesn't do much.Dr. Stephen Henson
2006-04-06Initial definitions and a few functions for EVP_PKEY_METHOD: an extensionDr. Stephen Henson
of the EVP routines to public key algorithms.