summaryrefslogtreecommitdiffstats
path: root/providers/common/exchange (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revise EVP_PKEY param handlingMatt Caswell2019-09-091-2/+16
| | | | | | | | | | | | We add new functions for getting parameters and discovering the gettable and settable parameters. We also make EVP_PKEY_CTX_get_signature_md() a function and implement it in terms of the new functions. This enables applications to discover the set of parameters that are supported for a given algorithm implementation. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9753)
* Change provider params from int to size_tShane Lontis2019-09-051-6/+4
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9699)
* Documentation for the provider Key Exchange operationMatt Caswell2019-08-051-6/+6
| | | | | Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9506)
* Check for NULL return from zalloc in dh_dupctx.Pauli2019-07-311-0/+2
| | | | | Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/9485)
* Fix coverity 1452084Pauli2019-07-301-6/+6
| | | | | | | Fix coverity 1452083 Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/9470)
* Adapt DH to use with KEYMGMTRichard Levitte2019-07-232-57/+15
| | | | | | | | | The biggest part in this was to move the key->param builder from EVP to the DH ASN.1 method, and to implement the KEYMGMT support in the provider DH. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9394)
* Fix no-dhMatt Caswell2019-07-191-2/+4
| | | | | | | | The recent move of the DH code into the default provider broke no-dh. This adds back in various missing guards. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9399)
* Add the ability to set PKCS#3 DH padding in providersMatt Caswell2019-07-161-1/+22
| | | | | | | | This also adds the ability to set arbitrary parameters on key exchange algorithms. The ability to pad the output is one such parameter for DH. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9266)
* Implement PKCS#3 DH Key Exchange in the default providerMatt Caswell2019-07-162-0/+178
We add the capability for the default provider to perform PKCS#3 Diffie-Hellman key exchange. At this point the implementation is not used because libcrypto still uses legacy handling for Diffie-Hellman. Note X9.42 DH is not touched by this commit. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9266)