move ECDSA_SIG definition
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
0a6f1d9733
commit
714b2abb29
3 changed files with 7 additions and 5 deletions
|
@ -580,3 +580,8 @@ int ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
|
|||
EC_KEY *ecdh,
|
||||
void *(*KDF) (const void *in, size_t inlen,
|
||||
void *out, size_t *outlen));
|
||||
|
||||
struct ECDSA_SIG_st {
|
||||
BIGNUM *r;
|
||||
BIGNUM *s;
|
||||
};
|
||||
|
|
|
@ -999,6 +999,8 @@ int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
|
|||
EC_KEY *ecdh, void *(*KDF) (const void *in, size_t inlen,
|
||||
void *out, size_t *outlen));
|
||||
|
||||
typedef struct ECDSA_SIG_st ECDSA_SIG;
|
||||
|
||||
# define ECParameters_dup(x) ASN1_dup_of(EC_KEY,i2d_ECParameters,d2i_ECParameters,x)
|
||||
|
||||
# ifndef __cplusplus
|
||||
|
|
|
@ -75,11 +75,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ECDSA_SIG_st {
|
||||
BIGNUM *r;
|
||||
BIGNUM *s;
|
||||
} ECDSA_SIG;
|
||||
|
||||
/** Allocates and initialize a ECDSA_SIG structure
|
||||
* \return pointer to a ECDSA_SIG structure or NULL if an error occurred
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue