summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/ecdsa.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/ecdsa.3')
-rw-r--r--secure/lib/libcrypto/man/ecdsa.316
1 files changed, 6 insertions, 10 deletions
diff --git a/secure/lib/libcrypto/man/ecdsa.3 b/secure/lib/libcrypto/man/ecdsa.3
index 72bf534..b310c49 100644
--- a/secure/lib/libcrypto/man/ecdsa.3
+++ b/secure/lib/libcrypto/man/ecdsa.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.23)
+.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "ecdsa 3"
-.TH ecdsa 3 "2013-02-11" "1.0.1e" "OpenSSL"
+.TH ecdsa 3 "2014-01-06" "1.0.1f" "OpenSSL"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -225,7 +225,7 @@ is ignored.
.PP
\&\fIECDSA_verify()\fR verifies that the signature in \fBsig\fR of size
\&\fBsiglen\fR is a valid \s-1ECDSA\s0 signature of the hash value
-value \fBdgst\fR of size \fBdgstlen\fR using the public key \fBeckey\fR.
+\&\fBdgst\fR of size \fBdgstlen\fR using the public key \fBeckey\fR.
The parameter \fBtype\fR is ignored.
.PP
\&\fIECDSA_do_sign()\fR is wrapper function for ECDSA_do_sign_ex with \fBkinv\fR
@@ -257,19 +257,15 @@ named curve secp192k1.
First step: create a \s-1EC_KEY\s0 object (note: this part is \fBnot\fR \s-1ECDSA\s0
specific)
.PP
-.Vb 10
+.Vb 12
\& int ret;
\& ECDSA_SIG *sig;
-\& EC_KEY *eckey = EC_KEY_new();
+\& EC_KEY *eckey;
+\& eckey = EC_KEY_new_by_curve_name(NID_secp192k1);
\& if (eckey == NULL)
\& {
\& /* error */
\& }
-\& key\->group = EC_GROUP_new_by_nid(NID_secp192k1);
-\& if (key\->group == NULL)
-\& {
-\& /* error */
-\& }
\& if (!EC_KEY_generate_key(eckey))
\& {
\& /* error */
OpenPOWER on IntegriCloud