Home | History | Annotate | Download | only in tpm2

Lines Matching refs:pAssert

114    pAssert(randomSize <= MAX_RSA_KEY_BYTES || randomSize <= PRIMARY_SEED_SIZE);
160 pAssert(hashState != NULL);
189 pAssert(hashState != NULL);
221 // This has to come before the pAssert in case we all calling this function
226 pAssert(hashState != NULL);
332 pAssert(digestState != NULL);
377 pAssert( intValue != NULL && (intSize == 1 || intSize == 2
386 pAssert(intValue != NULL);
437 pAssert(hashState->type == HASH_STATE_HASH);
512 pAssert(hmacState != NULL);
514 pAssert(hashState->type == HASH_STATE_HMAC);
641 pAssert(digestSize > 0);
713 pAssert(publicArea->type == TPM_ALG_KEYEDHASH);
827 pAssert(d != NULL && n != NULL && p != NULL);
1008 pAssert( (dataOutSize != NULL) && (dataOut != NULL)
1011 pAssert( (rsaKey->publicArea.type == TPM_ALG_RSA
1015 pAssert(rsaKey->attributes.publicOnly == CLEAR);
1045 pAssert(retVal != CRYPT_SCHEME);
1047 pAssert(dSize <= UINT16_MAX);
1084 pAssert(rsaKey != NULL && dataIn != NULL);
1086 pAssert( rsaKey->publicArea.type == TPM_ALG_RSA
1090 pAssert( cipherOut != NULL
1110 pAssert (cOutSize <= UINT16_MAX);
1140 pAssert( (signKey != NULL) && (scheme != NULL)
1143 pAssert( (signKey->attributes.publicOnly == CLEAR)
1163 pAssert(signSize <= UINT16_MAX);
1192 pAssert((signKey != NULL) && (digestData != NULL) && (sig != NULL));
1385 pAssert(pOut != NULL && dIn != NULL);
1566 pAssert(r != NULL && n != NULL);
1898 pAssert(requestSize <= sizeof(symValues));
1903 pAssert(requestSize != 0);
2008 pAssert((key != NULL) && (data != NULL) && (hLen != 0));
2183 pAssert(encrypted != NULL && key != NULL);
2191 pAssert(mode == TPM_ALG_ECB || iv->t.size == 16);
2221 pAssert(0);
2252 pAssert(0);
2258 pAssert(FALSE);
2308 pAssert(mode == TPM_ALG_ECB || ivIn->t.size == 16);
2340 pAssert(0);
2370 pAssert(0);
2375 pAssert(FALSE);
2405 pAssert(data != NULL && secret != NULL);
2408 pAssert(encryptKey->publicArea.objectAttributes.decrypt == SET);
2633 pAssert(iv.t.size != 0);
2651 pAssert(0);
2678 pAssert(session->sessionKey.t.size + extraKey->t.size <= sizeof(key.t.buffer));
2699 pAssert(FALSE);
2748 pAssert(session->sessionKey.t.size + extraKey->t.size <= sizeof(key.t.buffer));
2767 pAssert(FALSE);
2802 pAssert(sensitive != NULL && unique != NULL);
2954 pAssert(0);
3027 pAssert(curveValue != NULL);
3070 pAssert(object != NULL);
3123 pAssert(0);
3155 pAssert(auth->sigAlg != TPM_ALG_NULL);
3396 pAssert(signKey->publicArea.objectAttributes.sign == SET);
3399 pAssert(signKey->attributes.publicOnly == CLEAR);
3511 pAssert( numerator != NULL && denominator!= NULL
3515 pAssert(denominator->size != 0);