Logo Search packages:      
Sourcecode: openssl version File versions  Download package

int ECDSA_do_verify ( const unsigned char *  dgst,
int  dgst_len,
const ECDSA_SIG sig,
EC_KEY eckey 

Verifies that the supplied signature is a valid ECDSA signature of the supplied hash value using the supplied public key.

dgstpointer to the hash value
dgst_lenlength of the hash value
sigECDSA_SIG structure
eckeyEC_KEY object containing a public EC key
1 if the signature is valid, 0 if the signature is invalid and -1 on error

Definition at line 69 of file ecs_vrf.c.

References ECDSA_do_verify().

Referenced by ECDSA_do_verify(), and ECDSA_verify().

      ECDSA_DATA *ecdsa = ecdsa_check(eckey);
      if (ecdsa == NULL)
            return 0;
      return ecdsa->meth->ecdsa_do_verify(dgst, dgst_len, sig, eckey);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index