Lines Matching refs:bnD
511 BN_INITIALIZED(bnD, MAX_ECC_PARAMETER_BYTES * 8, d); in CryptEccIsValidPrivateKey()
512 return !BnEqualZero(bnD) && (BnUnsignedCmp(bnD, BnGetCurveOrder(curveId)) < 0); in CryptEccIsValidPrivateKey()
614 bigNum bnD, // OUT: private scalar in BnEccGenerateKeyPair() argument
622 OK = BnEccGetPrivate(bnD, AccessCurveData(E), rand); in BnEccGenerateKeyPair()
625 OK = OK && BnEccModMult(ecQ, NULL, bnD, E); in BnEccGenerateKeyPair()
645 ECC_NUM(bnD); in CryptEccNewKeyPair()
652 OK = BnEccGenerateKeyPair(bnD, ecQ, E, NULL); in CryptEccNewKeyPair()
656 BnTo2B(bnD, &dOut->b, Qout->x.t.size); in CryptEccNewKeyPair()
706 ECC_INITIALIZED(bnD, dIn); // If dIn is null, then bnD is null in CryptEccPointMultiply()
712 retVal = BnPointMult(ecR, ecP, bnD, ecQ, bnU, E); in CryptEccPointMultiply()
774 ECC_NUM(bnD); in CryptEccGenerateKey()
789 OK = BnEccGenerateKeyPair(bnD, ecQ, E, rand); in CryptEccGenerateKey()
793 BnTo2B(bnD, &sensitive->sensitive.ecc.b, publicArea->unique.ecc.x.t.size); in CryptEccGenerateKey()
809 BnSignEcdsa(bnT, bnS, E, bnD, &digest, NULL); in CryptEccGenerateKey()