Eneboo - Documentación para desarrolladores
|
Funciones | |
int | ECDSA_do_verify (const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey) |
int | ECDSA_verify (int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) |
int ECDSA_do_verify | ( | const unsigned char * | dgst, |
int | dgst_len, | ||
const ECDSA_SIG * | sig, | ||
EC_KEY * | eckey | ||
) |
ECDSA_do_verify verifies that the supplied signature is a valid ECDSA signature of the supplied hash value using the supplied public key.
dgst | pointer to the hash value |
dgst_len | length of the hash value |
sig | pointer to the ECDSA_SIG structure |
eckey | pointer to the EC_KEY object containing a public EC key |
int ECDSA_verify | ( | int | type, |
const unsigned char * | dgst, | ||
int | dgstlen, | ||
const unsigned char * | sig, | ||
int | siglen, | ||
EC_KEY * | eckey | ||
) |
ECDSA_verify verifies that the given signature is valid ECDSA signature of the supplied hash value using the specified public key.
type | this parameter is ignored |
dgst | pointer to the hash value |
dgstlen | length of the hash value |
sig | pointer to the DER encoded signature |
siglen | length of the DER encoded signature |
eckey | pointer to the EC_KEY object containing a public EC key |