diff options
author | Nicola Tuveri <nic.tuv@gmail.com> | 2020-09-28 03:45:30 +0300 |
---|---|---|
committer | Nicola Tuveri <nic.tuv@gmail.com> | 2020-10-14 18:42:59 +0300 |
commit | a011b5861b545b40df3c6f111df4fbde74cd7c82 (patch) | |
tree | 12dc48963f2cd0a88563cc9658dbfa9ea202be48 /ssl/ssl_local.h | |
parent | c1a74f59ac799087c511d641cb086722817b805b (diff) |
[ssl] Support ssl_decapsulate on client side
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13018)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r-- | ssl/ssl_local.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index e81470a82c..3a4727f17a 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -2456,6 +2456,9 @@ __owur int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen, __owur EVP_PKEY *ssl_generate_pkey(SSL *s, EVP_PKEY *pm); __owur int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey, int genmaster); +__owur int ssl_decapsulate(SSL *s, EVP_PKEY *privkey, + const unsigned char *ct, size_t ctlen, + int gensecret); __owur EVP_PKEY *ssl_dh_to_pkey(DH *dh); __owur unsigned int ssl_get_max_send_fragment(const SSL *ssl); __owur unsigned int ssl_get_split_send_fragment(const SSL *ssl); |