summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-01-15 02:01:55 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-01-15 02:01:55 +0000
commit0e4aa0d2d2807e0cbeac29b65d2b9061daed8941 (patch)
treecec435e2a3ce007d0b1a7be92c4cf12cdc4bd1a5 /engines
parent08cb96bba2831a8fc3dbda697ab65d64bb05a371 (diff)
As with RSA, which was modified recently, this change makes it possible to
override key-generation implementations by placing handlers in the methods for DSA and DH. Also, parameter generation for DSA and DH is possible by another new handler for each method.
Diffstat (limited to 'engines')
-rw-r--r--engines/e_aep.c5
-rw-r--r--engines/e_atalla.c5
-rw-r--r--engines/e_cswift.c5
-rw-r--r--engines/e_ncipher.c1
-rw-r--r--engines/e_nuron.c5
-rw-r--r--engines/e_sureware.c5
-rw-r--r--engines/e_ubsec.c5
7 files changed, 25 insertions, 6 deletions
diff --git a/engines/e_aep.c b/engines/e_aep.c
index 3bb979a5f1..46ccac2823 100644
--- a/engines/e_aep.c
+++ b/engines/e_aep.c
@@ -190,7 +190,9 @@ static DSA_METHOD aep_dsa =
NULL, /* init */
NULL, /* finish */
0, /* flags */
- NULL /* app_data */
+ NULL, /* app_data */
+ NULL, /* dsa_paramgen */
+ NULL /* dsa_keygen */
};
#endif
@@ -205,6 +207,7 @@ static DH_METHOD aep_dh =
NULL,
NULL,
0,
+ NULL,
NULL
};
#endif
diff --git a/engines/e_atalla.c b/engines/e_atalla.c
index 6807e8400c..64dcc046e8 100644
--- a/engines/e_atalla.c
+++ b/engines/e_atalla.c
@@ -154,7 +154,9 @@ static DSA_METHOD atalla_dsa =
NULL, /* init */
NULL, /* finish */
0, /* flags */
- NULL /* app_data */
+ NULL, /* app_data */
+ NULL, /* dsa_paramgen */
+ NULL /* dsa_keygen */
};
#endif
@@ -169,6 +171,7 @@ static DH_METHOD atalla_dh =
NULL,
NULL,
0,
+ NULL,
NULL
};
#endif
diff --git a/engines/e_cswift.c b/engines/e_cswift.c
index d3bd9c657d..28a51d1bfd 100644
--- a/engines/e_cswift.c
+++ b/engines/e_cswift.c
@@ -172,7 +172,9 @@ static DSA_METHOD cswift_dsa =
NULL, /* init */
NULL, /* finish */
0, /* flags */
- NULL /* app_data */
+ NULL, /* app_data */
+ NULL, /* dsa_paramgen */
+ NULL /* dsa_keygen */
};
#endif
@@ -187,6 +189,7 @@ static DH_METHOD cswift_dh =
NULL,
NULL,
0,
+ NULL,
NULL
};
#endif
diff --git a/engines/e_ncipher.c b/engines/e_ncipher.c
index 8e8344379e..bf95ca8612 100644
--- a/engines/e_ncipher.c
+++ b/engines/e_ncipher.c
@@ -201,6 +201,7 @@ static DH_METHOD hwcrhk_dh =
NULL,
NULL,
0,
+ NULL,
NULL
};
#endif
diff --git a/engines/e_nuron.c b/engines/e_nuron.c
index 2d3f84b041..f9c3795033 100644
--- a/engines/e_nuron.c
+++ b/engines/e_nuron.c
@@ -287,7 +287,9 @@ static DSA_METHOD nuron_dsa =
NULL, /* init */
NULL, /* finish */
0, /* flags */
- NULL /* app_data */
+ NULL, /* app_data */
+ NULL, /* dsa_paramgen */
+ NULL /* dsa_keygen */
};
#endif
@@ -301,6 +303,7 @@ static DH_METHOD nuron_dh =
NULL,
NULL,
0,
+ NULL,
NULL
};
#endif
diff --git a/engines/e_sureware.c b/engines/e_sureware.c
index ee7182cd0c..cae8bf4856 100644
--- a/engines/e_sureware.c
+++ b/engines/e_sureware.c
@@ -145,7 +145,8 @@ static DH_METHOD surewarehk_dh =
NULL, /* init*/
NULL, /* finish*/
0, /* flags*/
- NULL
+ NULL,
+ NULL
};
#endif
@@ -194,6 +195,8 @@ static DSA_METHOD surewarehk_dsa =
NULL,/*finish*/
0,
NULL,
+ NULL,
+ NULL
};
#endif
diff --git a/engines/e_ubsec.c b/engines/e_ubsec.c
index afb0c9ece6..02927d7b38 100644
--- a/engines/e_ubsec.c
+++ b/engines/e_ubsec.c
@@ -162,7 +162,9 @@ static DSA_METHOD ubsec_dsa =
NULL, /* init */
NULL, /* finish */
0, /* flags */
- NULL /* app_data */
+ NULL, /* app_data */
+ NULL, /* dsa_paramgen */
+ NULL /* dsa_keygen */
};
#endif
@@ -177,6 +179,7 @@ static DH_METHOD ubsec_dh =
NULL,
NULL,
0,
+ NULL,
NULL
};
#endif