Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-12 21:14:48 +0400
committerDr. Stephen Henson <steve@openssl.org>2006-04-12 21:14:48 +0400
commitceb46789563c251cc8e682e1a95cb180fdd50cb0 (patch)
tree28af2cff131a4bdebe87c4b0d8f2657dcad8bb68 /crypto/dh/dh.h
parent0cb8499b73ec37cf1bcbd0d394375534b5e553a4 (diff)
Extend DH ASN1 method to support public key encode/decode and parameter
utilities.
Diffstat (limited to 'crypto/dh/dh.h')
-rw-r--r--crypto/dh/dh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h
index 48b6283704..ef918b63cf 100644
--- a/crypto/dh/dh.h
+++ b/crypto/dh/dh.h
@@ -216,13 +216,18 @@ void ERR_load_DH_strings(void);
#define DH_F_DH_BUILTIN_GENPARAMS 106
#define DH_F_DH_NEW_METHOD 105
#define DH_F_DH_PARAM_DECODE 107
+#define DH_F_DH_PUB_DECODE 108
+#define DH_F_DH_PUB_ENCODE 109
#define DH_F_GENERATE_KEY 103
#define DH_F_GENERATE_PARAMETERS 104
/* Reason codes. */
#define DH_R_BAD_GENERATOR 101
+#define DH_R_BN_DECODE_ERROR 103
+#define DH_R_DECODE_ERROR 104
#define DH_R_INVALID_PUBKEY 102
#define DH_R_NO_PRIVATE_VALUE 100
+#define DH_R_PARAMETER_ENCODING_ERROR 105
#ifdef __cplusplus
}