summaryrefslogtreecommitdiffstats
path: root/providers/implementations/serializers/serializer_local.h
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-04-15 13:02:52 +0200
committerShane Lontis <shane.lontis@oracle.com>2020-04-15 13:02:52 +0200
commitb03ec3b5d62ee26bf8437556b9040d4141d5bdd8 (patch)
tree1f27a892757c24efab70d2fb8f93110f71c0fbb3 /providers/implementations/serializers/serializer_local.h
parentMake sure we always send an alert in libssl if we hit a fatal error (diff)
downloadopenssl-b03ec3b5d62ee26bf8437556b9040d4141d5bdd8.tar.xz
openssl-b03ec3b5d62ee26bf8437556b9040d4141d5bdd8.zip
Add DSA keygen to provider
Moved some shared FFC code into the FFC files. Added extra paramgen parameters for seed, gindex. Fixed bug in ossl_prov util to print bignums. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11303)
Diffstat (limited to 'providers/implementations/serializers/serializer_local.h')
-rw-r--r--providers/implementations/serializers/serializer_local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/implementations/serializers/serializer_local.h b/providers/implementations/serializers/serializer_local.h
index b1c36a2221..2ee610565e 100644
--- a/providers/implementations/serializers/serializer_local.h
+++ b/providers/implementations/serializers/serializer_local.h
@@ -14,6 +14,7 @@
#include <openssl/x509.h> /* X509_SIG */
#include <openssl/types.h>
#include <crypto/ecx.h>
+#include "internal/ffc.h"
struct pkcs8_encrypt_ctx_st {
/* Set to 1 if intending to encrypt/decrypt, otherwise 0 */
@@ -54,6 +55,7 @@ int ossl_prov_prepare_ec_params(const void *eckey, int nid,
int ossl_prov_ec_pub_to_der(const void *eckey, unsigned char **pder);
int ossl_prov_ec_priv_to_der(const void *eckey, unsigned char **pder);
+int ffc_params_prov_print(BIO *out, const FFC_PARAMS *ffc);
int ossl_prov_prepare_dh_params(const void *dh, int nid,
void **pstr, int *pstrtype);
int ossl_prov_dh_pub_to_der(const void *dh, unsigned char **pder);