Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ecdsa.h
00001 /* ecdsa.h for openssl */ 00002 00003 #ifndef WOLFSSL_ECDSA_H_ 00004 #define WOLFSSL_ECDSA_H_ 00005 00006 #include <wolfssl/openssl/ssl.h> 00007 #include <wolfssl/openssl/bn.h> 00008 00009 00010 #ifdef __cplusplus 00011 extern "C" { 00012 #endif 00013 00014 struct WOLFSSL_ECDSA_SIG { 00015 WOLFSSL_BIGNUM *r; 00016 WOLFSSL_BIGNUM *s; 00017 }; 00018 00019 WOLFSSL_API void wolfSSL_ECDSA_SIG_free(WOLFSSL_ECDSA_SIG *sig); 00020 WOLFSSL_API WOLFSSL_ECDSA_SIG *wolfSSL_ECDSA_SIG_new(void); 00021 WOLFSSL_API WOLFSSL_ECDSA_SIG *wolfSSL_ECDSA_do_sign(const unsigned char *dgst, 00022 int dgst_len, 00023 WOLFSSL_EC_KEY *eckey); 00024 WOLFSSL_API int wolfSSL_ECDSA_do_verify(const unsigned char *dgst, 00025 int dgst_len, 00026 const WOLFSSL_ECDSA_SIG *sig, 00027 WOLFSSL_EC_KEY *eckey); 00028 00029 #define ECDSA_SIG_free wolfSSL_ECDSA_SIG_free 00030 #define ECDSA_SIG_new wolfSSL_ECDSA_SIG_new 00031 #define ECDSA_do_sign wolfSSL_ECDSA_do_sign 00032 #define ECDSA_do_verify wolfSSL_ECDSA_do_verify 00033 00034 #ifdef __cplusplus 00035 } /* extern "C" */ 00036 #endif 00037 00038 #endif /* header */ 00039 00040
Generated on Tue Jul 12 2022 15:55:18 by
 1.7.2
 1.7.2