Lines Matching refs:pAssert
114 pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE); in CryptGenerateRandom()
160 pAssert(hashState != NULL); in CryptStartHash()
189 pAssert(hashState != NULL); in CryptStartHashSequence()
226 pAssert(hashState != NULL); in CryptStartHMAC()
332 pAssert(digestState != NULL); in CryptUpdateDigest()
377 pAssert( intValue != NULL && (intSize == 1 || intSize == 2 in CryptUpdateDigestInt()
386 pAssert(intValue != NULL); in CryptUpdateDigestInt()
437 pAssert(hashState->type == HASH_STATE_HASH); in CryptCompleteHash()
512 pAssert(hmacState != NULL); in CryptCompleteHMAC()
514 pAssert(hashState->type == HASH_STATE_HMAC); in CryptCompleteHMAC()
641 pAssert(digestSize > 0); in CryptSignHMAC()
713 pAssert(publicArea->type == TPM_ALG_KEYEDHASH); in CryptGenerateKeyedHash()
826 pAssert(d != NULL && n != NULL && p != NULL); in CryptTestKeyRSA()
1007 pAssert( (dataOutSize != NULL) && (dataOut != NULL) in CryptDecryptRSA()
1010 pAssert( (rsaKey->publicArea.type == TPM_ALG_RSA in CryptDecryptRSA()
1014 pAssert(rsaKey->attributes.publicOnly == CLEAR); in CryptDecryptRSA()
1044 pAssert(retVal != CRYPT_SCHEME); in CryptDecryptRSA()
1046 pAssert(dSize <= UINT16_MAX); in CryptDecryptRSA()
1083 pAssert(rsaKey != NULL && dataIn != NULL); in CryptEncryptRSA()
1085 pAssert( rsaKey->publicArea.type == TPM_ALG_RSA in CryptEncryptRSA()
1089 pAssert( cipherOut != NULL in CryptEncryptRSA()
1109 pAssert (cOutSize <= UINT16_MAX); in CryptEncryptRSA()
1139 pAssert( (signKey != NULL) && (scheme != NULL) in CryptSignRSA()
1142 pAssert( (signKey->attributes.publicOnly == CLEAR) in CryptSignRSA()
1162 pAssert(signSize <= UINT16_MAX); in CryptSignRSA()
1191 pAssert((signKey != NULL) && (digestData != NULL) && (sig != NULL)); in CryptRSAVerifySignature()
1384 pAssert(pOut != NULL && dIn != NULL); in CryptEccPointMultiply()
1565 pAssert(r != NULL && n != NULL); in CryptGenerateR()
1897 pAssert(requestSize <= sizeof(symValues)); in CryptGenerateNewSymmetric()
1902 pAssert(requestSize != 0); in CryptGenerateNewSymmetric()
2007 pAssert((key != NULL) && (data != NULL) && (hLen != 0)); in CryptXORObfuscation()
2182 pAssert(encrypted != NULL && key != NULL); in CryptSymmetricEncrypt()
2190 pAssert(mode == TPM_ALG_ECB || iv->t.size == 16); in CryptSymmetricEncrypt()
2220 pAssert(0); in CryptSymmetricEncrypt()
2251 pAssert(0); in CryptSymmetricEncrypt()
2257 pAssert(FALSE); in CryptSymmetricEncrypt()
2307 pAssert(mode == TPM_ALG_ECB || ivIn->t.size == 16); in CryptSymmetricDecrypt()
2339 pAssert(0); in CryptSymmetricDecrypt()
2369 pAssert(0); in CryptSymmetricDecrypt()
2374 pAssert(FALSE); in CryptSymmetricDecrypt()
2404 pAssert(data != NULL && secret != NULL); in CryptSecretEncrypt()
2407 pAssert(encryptKey->publicArea.objectAttributes.decrypt == SET); in CryptSecretEncrypt()
2632 pAssert(iv.t.size != 0); in CryptSecretDecrypt()
2650 pAssert(0); in CryptSecretDecrypt()
2677 pAssert(session->sessionKey.t.size + extraKey->t.size <= sizeof(key.t.buffer)); in CryptParameterEncryption()
2698 pAssert(FALSE); in CryptParameterEncryption()
2747 pAssert(session->sessionKey.t.size + extraKey->t.size <= sizeof(key.t.buffer)); in CryptParameterDecryption()
2766 pAssert(FALSE); in CryptParameterDecryption()
2801 pAssert(sensitive != NULL && unique != NULL); in CryptComputeSymmetricUnique()
2953 pAssert(0); in CryptCreateObject()
3026 pAssert(curveValue != NULL); in CryptObjectIsPublicConsistent()
3069 pAssert(object != NULL); in CryptObjectPublicPrivateMatch()
3122 pAssert(0); in CryptObjectPublicPrivateMatch()
3154 pAssert(auth->sigAlg != TPM_ALG_NULL); in CryptGetSignHashAlg()
3395 pAssert(signKey->publicArea.objectAttributes.sign == SET); in CryptSign()
3398 pAssert(signKey->attributes.publicOnly == CLEAR); in CryptSign()
3510 pAssert( numerator != NULL && denominator!= NULL in CryptDivide()
3514 pAssert(denominator->size != 0); in CryptDivide()