Lines Matching refs:testOutput
351 static TPM2B_PUBLIC_KEY_RSA testOutput; in TestRsaEncryptDecrypt() local
369 if(TPM_RC_SUCCESS != CryptRsaEncrypt(&testOutput, &testInput.b, in TestRsaEncryptDecrypt()
372 if(!MemoryEqual(testOutput.t.buffer, c_RsaepKvt.buffer, c_RsaepKvt.size)) in TestRsaEncryptDecrypt()
374 MemoryCopy2B(&testInput.b, &testOutput.b, sizeof(testInput.t.buffer)); in TestRsaEncryptDecrypt()
375 if(TPM_RC_SUCCESS != CryptRsaDecrypt(&testOutput.b, &testInput.b, in TestRsaEncryptDecrypt()
378 if(!MemoryEqual(testOutput.t.buffer, c_RsaTestValue, in TestRsaEncryptDecrypt()
414 if(TPM_RC_SUCCESS != CryptRsaEncrypt(&testOutput, &testInput.b, in TestRsaEncryptDecrypt()
418 MemoryCopy2B(&testInput.b, &testOutput.b, sizeof(testInput.t.buffer)); in TestRsaEncryptDecrypt()
420 if(TPM_RC_SUCCESS != CryptRsaDecrypt(&testOutput.b, &testInput.b, in TestRsaEncryptDecrypt()
424 if(testOutput.t.size != DEFAULT_TEST_DIGEST_SIZE in TestRsaEncryptDecrypt()
425 || !MemoryEqual(testOutput.t.buffer, c_RsaTestValue, in TestRsaEncryptDecrypt()
431 if(TPM_RC_SUCCESS != CryptRsaDecrypt(&testOutput.b, &testInput.b, in TestRsaEncryptDecrypt()
434 if(testOutput.t.size != DEFAULT_TEST_DIGEST_SIZE in TestRsaEncryptDecrypt()
435 || !MemoryEqual(testOutput.t.buffer, c_RsaTestValue, in TestRsaEncryptDecrypt()