projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make EVP_PKEY_[get1|set1]_tls_encodedpoint work with provided keys
[oweals/openssl.git]
/
include
/
crypto
/
dh.h
diff --git
a/include/crypto/dh.h
b/include/crypto/dh.h
index 1ae2c2f0a324da4336e1ce86e5b517bc83812541..f67b4e01cd08a2d520ed6ae5a259424b96efc5c6 100644
(file)
--- a/
include/crypto/dh.h
+++ b/
include/crypto/dh.h
@@
-32,3
+32,6
@@
int dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret);
int dh_check_pairwise(DH *dh);
const DH_METHOD *dh_get_method(const DH *dh);
+
+int dh_buf2key(DH *key, const unsigned char *buf, size_t len);
+size_t dh_key2buf(const DH *dh, unsigned char **pbuf, size_t size, int alloc);