Lines Matching refs:pAssert

160     pAssert(groupContext != NULL && curveData != NULL);  in EccCurveInit()
299 pAssert(pIn != NULL && dOut != NULL && pIn->size <= MAX_ECC_KEY_BYTES); in GetRandomPrivate()
359 pAssert((dIn != NULL || uIn != NULL) && (Qin != NULL || dIn != NULL)); in _cpri__EccPointMultiply()
371 pAssert(group != NULL); in _cpri__EccPointMultiply()
483 pAssert((r && (K || !B) && (L || !B)) || (E || (!M && B))); in _cpri__EccCommitCompute()
504 pAssert((int) r->t.size > 0); in _cpri__EccCommitCompute()
511 pAssert((int) d->t.size > 0); in _cpri__EccCommitCompute()
604 pAssert(Q != NULL && curveData != NULL); in _cpri__EccIsPointOnCurve()
692 pAssert( seed != NULL && dOut != NULL && Qout != NULL && curveData != NULL); in _cpri__GenerateKeyEcc()
705 pAssert((int) curveData->n->size <= MAX_ECC_KEY_BYTES); in _cpri__GenerateKeyEcc()
728 pAssert(keySizeInBytes <= MAX_ECC_KEY_BYTES); in _cpri__GenerateKeyEcc()
768 pAssert(curveData != NULL); in _cpri__GetEphemeralEcc()
813 pAssert(rOut != NULL && sOut != NULL && dIn != NULL && digest != NULL); in SignEcdsa()
826 pAssert(curveData->n->size <= MAX_ECC_PARAMETER_BYTES); in SignEcdsa()
884 pAssert(curveData->n->size <= MAX_ECC_KEY_BYTES); in SignEcdsa()
892 pAssert(digest->size <= MAX_DIGEST_SIZE); in SignEcdsa()
964 pAssert( sOut != NULL && dIn != NULL && tOut != NULL in EcDaa()
973 pAssert( (int) dIn->t.size <= MAX_ECC_KEY_BYTES in EcDaa()
1087 pAssert( rOut != NULL && sOut != NULL && dIn != NULL in SchnorrEcc()
1181 pAssert(bnC != NULL); in cmp_bn2hex()
1199 pAssert((bnA = BN_bin2bn(a->buffer, a->size, NULL)) != NULL); in cmp_2B2hex()
1211 pAssert((strlen(c) & 1) == 0); // must have an even number of digits in cpy_hexTo2B()
1214 pAssert(bnB != NULL); in cpy_hexTo2B()
1255 pAssert(curveData != NULL); in SignSM2()
1303 pAssert(cmp_bn2hex(bnR, in SignSM2()
1320 pAssert(cmp_bn2hex(bnT, in SignSM2()
1330 pAssert(cmp_bn2hex(bnS, in SignSM2()
1342 pAssert(cmp_2B2hex(&rOut->b, in SignSM2()
1345 pAssert(cmp_2B2hex(&sOut->b, in SignSM2()
1448 pAssert (curveData != NULL); in ValidateSignatureEcdsa()
1561 pAssert(curveData != NULL); in ValidateSignatureEcSchnorr()
1565 pAssert(rIn != NULL && sIn != NULL && Qin != NULL && digest != NULL); in ValidateSignatureEcSchnorr()
1656 pAssert(EC_POINT_get_affine_coordinates_GFp(group, pQ, bnT, bnS, context)); in ValidateSignatureSM2Dsa()
1657 pAssert(cmp_bn2hex(bnT, in ValidateSignatureSM2Dsa()
1660 pAssert(cmp_bn2hex(bnS, in ValidateSignatureSM2Dsa()
1669 pAssert(cmp_2B2hex(&rIn->b, in ValidateSignatureSM2Dsa()
1671 pAssert(cmp_2B2hex(&sIn->b, in ValidateSignatureSM2Dsa()
1687 pAssert(cmp_bn2hex(bnT, in ValidateSignatureSM2Dsa()
1705 pAssert(cmp_bn2hex(bnT, in ValidateSignatureSM2Dsa()
1841 pAssert( curveData != NULL && outZ != NULL && dsA != NULL in C_2_2_MQV()
1987 pAssert( curveData != NULL && outZ != NULL && dsA != NULL in SM2KeyExchange()
2147 pAssert( outZ1 != NULL in _cpri__C_2_2_KeyExchange()