summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ecdsa')
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h
index 29ee8729ed..3f0eb3b66f 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa.h
+++ b/src/lib/libcrypto/ecdsa/ecdsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa.h,v 1.12 2022/07/12 14:42:49 kn Exp $ */ 1/* $OpenBSD: ecdsa.h,v 1.13 2022/12/26 07:18:51 jmc Exp $ */
2/** 2/**
3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions 3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions
4 * \author Written by Nils Larsch for the OpenSSL project 4 * \author Written by Nils Larsch for the OpenSSL project
@@ -156,7 +156,7 @@ ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dgst_len,
156 * \param dgst pointer to the hash value to sign 156 * \param dgst pointer to the hash value to sign
157 * \param dgstlen length of the hash value 157 * \param dgstlen length of the hash value
158 * \param kinv BIGNUM with a pre-computed inverse k (optional) 158 * \param kinv BIGNUM with a pre-computed inverse k (optional)
159 * \param rp BIGNUM with a pre-computed rp value (optioanl), 159 * \param rp BIGNUM with a pre-computed rp value (optional),
160 * see ECDSA_sign_setup 160 * see ECDSA_sign_setup
161 * \param eckey EC_KEY object containing a private EC key 161 * \param eckey EC_KEY object containing a private EC key
162 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred 162 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
@@ -233,7 +233,7 @@ int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen,
233 * \param sig buffer to hold the DER encoded signature 233 * \param sig buffer to hold the DER encoded signature
234 * \param siglen pointer to the length of the returned signature 234 * \param siglen pointer to the length of the returned signature
235 * \param kinv BIGNUM with a pre-computed inverse k (optional) 235 * \param kinv BIGNUM with a pre-computed inverse k (optional)
236 * \param rp BIGNUM with a pre-computed rp value (optioanl), 236 * \param rp BIGNUM with a pre-computed rp value (optional),
237 * see ECDSA_sign_setup 237 * see ECDSA_sign_setup
238 * \param eckey EC_KEY object containing a private EC key 238 * \param eckey EC_KEY object containing a private EC key
239 * \return 1 on success and 0 otherwise 239 * \return 1 on success and 0 otherwise