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

int ECDSA_sign_setup ( EC_KEY eckey,
BN_CTX ctx,
BIGNUM **  kinv,
BIGNUM **  rp 

Precompute parts of the signing operation

eckeyEC_KEY object containing a private EC key
ctxBN_CTX object (optional)
kinvBIGNUM pointer for the inverse of k
rpBIGNUM pointer for x coordinate of k * generator
1 on success and 0 otherwise

Definition at line 99 of file ecs_sign.c.

References ECDSA_sign_setup().

Referenced by ECDSA_sign_setup().

      ECDSA_DATA *ecdsa = ecdsa_check(eckey);
      if (ecdsa == NULL)
            return 0;
      return ecdsa->meth->ecdsa_sign_setup(eckey, ctx_in, kinvp, rp); 

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