Skip to content

Commit 3034187

Browse files
committed
register ECC methods for ECDSA_do_sign/ECDSA_do_verify
1 parent 418e6bb commit 3034187

File tree

4 files changed

+643
-524
lines changed

4 files changed

+643
-524
lines changed

include/wolfengine/we_openssl_bc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <openssl/evp.h>
3535
#include <openssl/crypto.h>
3636
#include <openssl/ec.h>
37+
#include <openssl/ecdsa.h>
3738
#include <openssl/dh.h>
3839
#include <openssl/rsa.h>
3940

@@ -156,6 +157,7 @@ void DH_get0_pqg(DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
156157
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
157158
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
158159
DH *EVP_PKEY_get0_DH(EVP_PKEY *pkey);
160+
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
159161

160162
size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point,
161163
point_conversion_form_t form,

0 commit comments

Comments
 (0)