summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
authortb <>2018-02-17 13:47:36 +0000
committertb <>2018-02-17 13:47:36 +0000
commite1b05f77869d986a0aee6aa4076f008274e98d27 (patch)
treef0cc2d3dd2a3842c40f792227fe86c133a668af2 /src/lib/libcrypto/evp/evp.h
parent0c7165079d7f7c944f8c516a5bb23a71b674c170 (diff)
downloadopenbsd-e1b05f77869d986a0aee6aa4076f008274e98d27.tar.gz
openbsd-e1b05f77869d986a0aee6aa4076f008274e98d27.tar.bz2
openbsd-e1b05f77869d986a0aee6aa4076f008274e98d27.zip
Provide further parts of the OpenSSL 1.1 API: {DH,DSA}_get0_{key,pqg}(),
EVP_PKEY_get0_{DH,DSA,RSA}(), RSA_{g,s}et0_key(). ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r--src/lib/libcrypto/evp/evp.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 09df7db64b..c8da89844d 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.54 2018/02/14 16:40:42 jsing Exp $ */ 1/* $OpenBSD: evp.h,v 1.55 2018/02/17 13:47:36 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -870,18 +870,21 @@ void *EVP_PKEY_get0(EVP_PKEY *pkey);
870 870
871#ifndef OPENSSL_NO_RSA 871#ifndef OPENSSL_NO_RSA
872struct rsa_st; 872struct rsa_st;
873int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); 873struct rsa_st *EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
874struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); 874struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
875int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
875#endif 876#endif
876#ifndef OPENSSL_NO_DSA 877#ifndef OPENSSL_NO_DSA
877struct dsa_st; 878struct dsa_st;
878int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); 879struct dsa_st *EVP_PKEY_get0_DSA(EVP_PKEY *pkey);
879struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); 880struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
881int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
880#endif 882#endif
881#ifndef OPENSSL_NO_DH 883#ifndef OPENSSL_NO_DH
882struct dh_st; 884struct dh_st;
883int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); 885struct dh_st *EVP_PKEY_get0_DH(EVP_PKEY *pkey);
884struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); 886struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
887int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
885#endif 888#endif
886#ifndef OPENSSL_NO_EC 889#ifndef OPENSSL_NO_EC
887struct ec_key_st; 890struct ec_key_st;