Commit 714b2abb authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

move ECDSA_SIG definition

parent 0a6f1d97
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;
};
+2 −0
Original line number Diff line number Diff line
@@ -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
+0 −5
Original line number Diff line number Diff line
@@ -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
 */