Lines Matching refs:retVal

357    CRYPT_RESULT               retVal = CRYPT_SUCCESS;  in _cpri__EccPointMultiply()  local
413 if((retVal = PointMul(group, R, bnD, Q, bnU, context)) == CRYPT_SUCCESS) in _cpri__EccPointMultiply()
423 return retVal; in _cpri__EccPointMultiply()
478 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__EccCommitCompute() local
499 retVal = CRYPT_PARAMETER; in _cpri__EccCommitCompute()
522 if((retVal = PointMul(group, pK, NULL, pB, bnD, context)) != CRYPT_SUCCESS) in _cpri__EccCommitCompute()
529 retVal = CRYPT_CANCEL; in _cpri__EccCommitCompute()
533 if((retVal = PointMul(group, pL, NULL, pB, bnR, context)) != CRYPT_SUCCESS) in _cpri__EccCommitCompute()
543 retVal = CRYPT_CANCEL; in _cpri__EccCommitCompute()
554 retVal = PointMul(group, pE, NULL, pM, bnR, context); in _cpri__EccCommitCompute()
558 retVal = PointMul(group, pE, bnR, NULL, NULL, context); in _cpri__EccCommitCompute()
559 if(retVal == CRYPT_SUCCESS) in _cpri__EccCommitCompute()
573 return retVal; in _cpri__EccCommitCompute()
603 BOOL retVal; in _cpri__EccIsPointOnCurve() local
640 retVal = BN_cmp(bnX, bnY) == 0; in _cpri__EccIsPointOnCurve()
643 return retVal; in _cpri__EccIsPointOnCurve()
682 CRYPT_RESULT retVal; in _cpri__GenerateKeyEcc() local
739 if( (retVal = _cpri__EccPointMultiply(Qout, curveId, dOut, NULL, NULL)) in _cpri__GenerateKeyEcc()
750 return retVal; in _cpri__GenerateKeyEcc()
766 CRYPT_RESULT retVal; in _cpri__GetEphemeralEcc() local
778 retVal = _cpri__EccPointMultiply(Qout, curveId, dOut, NULL, NULL); in _cpri__GetEphemeralEcc()
779 if(retVal != CRYPT_NO_RESULT) in _cpri__GetEphemeralEcc()
780 return retVal; // Will return CRYPT_SUCCESS in _cpri__GetEphemeralEcc()
811 CRYPT_RESULT retVal = CRYPT_SUCCESS; in SignEcdsa() local
929 return retVal; in SignEcdsa()
1444 CRYPT_RESULT retVal = CRYPT_FAIL; in ValidateSignatureEcdsa() local
1519 retVal = CRYPT_SUCCESS; in ValidateSignatureEcdsa()
1525 return retVal; in ValidateSignatureEcdsa()
1750 CRYPT_RESULT retVal; in _cpri__ValidateSignatureEcc() local
1757 retVal = ValidateSignatureEcdsa(rIn, sIn, curveId, Qin, digest); in _cpri__ValidateSignatureEcc()
1761 retVal = ValidateSignatureEcSchnorr(rIn, sIn, hashAlg, curveId, Qin, in _cpri__ValidateSignatureEcc()
1767 retVal = ValidateSignatureSM2Dsa(rIn, sIn, curveId, Qin, digest); in _cpri__ValidateSignatureEcc()
1770 retVal = CRYPT_SCHEME; in _cpri__ValidateSignatureEcc()
1773 return retVal; in _cpri__ValidateSignatureEcc()
1840 CRYPT_RESULT retVal; in C_2_2_MQV() local
1874 if( (retVal = PointMul(group, pQeA, bnDeA, NULL, NULL, context)) in C_2_2_MQV()
1921 return retVal; in C_2_2_MQV()
1986 CRYPT_RESULT retVal; in SM2KeyExchange() local
2015 if( (retVal = PointMul(group, pQeA, bnDeA, NULL, NULL, context)) in SM2KeyExchange()
2061 return retVal; in SM2KeyExchange()