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

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

ECDSA_sign_setup precompute parts of the signing operation.

eckey pointer to the EC_KEY object containing a private EC key
ctx pointer to a BN_CTX object (may be NULL)
kinv pointer to a BIGNUM pointer for the inverse of k
rp pointer to a BIGNUM pointer for x coordinate of k * generator
1 on success and 0 otherwise

Definition at line 97 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); 

Generated by  Doxygen 1.6.0   Back to index