Home | History | Annotate | Download | only in ecdsa

Lines Matching full:ecdsa_sig

82 	} ECDSA_SIG;
84 /** Allocates and initialize a ECDSA_SIG structure
85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
87 ECDSA_SIG *ECDSA_SIG_new(void);
89 /** frees a ECDSA_SIG structure
90 * \param sig pointer to the ECDSA_SIG structure
92 void ECDSA_SIG_free(ECDSA_SIG *sig);
94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp
96 * \param sig pointer to the ECDSA_SIG object
98 * \return the length of the DER encoded ECDSA_SIG object or 0
100 int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp);
104 * \param sig pointer to ECDSA_SIG pointer (may be NULL)
107 * \return pointer to the decoded ECDSA_SIG structure (or NULL)
109 ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len);
116 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
128 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
130 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen,
137 * \param sig ECDSA_SIG structure
143 const ECDSA_SIG *sig, EC_KEY* eckey);