Lines Matching refs:publicArea
259 UINT32 e = key->publicArea.parameters.rsaDetail.exponent; in RSAEP()
266 e2B.t.size, e2B.t.buffer, key->publicArea.unique.rsa.t.size, in RSAEP()
267 key->publicArea.unique.rsa.t.buffer); in RSAEP()
291 key->publicArea.unique.rsa.t.size, in RSADP()
292 key->publicArea.unique.rsa.t.buffer) >= 0) in RSADP()
300 if(CryptRsaLoadPrivateExponent(&key->publicArea, &key->sensitive) in RSADP()
962 keyScheme = &rsaObject->publicArea.parameters.asymDetail.scheme; in CryptRsaSelectScheme()
997 TPMT_PUBLIC *publicArea, in CryptRsaLoadPrivateExponent() argument
1004 if((sensitive->sensitive.rsa.t.size * 2) == publicArea->unique.rsa.t.size) in CryptRsaLoadPrivateExponent()
1007 BN_RSA_INITIALIZED(bnN, &publicArea->unique.rsa); in CryptRsaLoadPrivateExponent()
1014 == publicArea->unique.rsa.t.size); in CryptRsaLoadPrivateExponent()
1016 BnSetWord(bnE, publicArea->parameters.rsaDetail.exponent); in CryptRsaLoadPrivateExponent()
1033 == publicArea->unique.rsa.t.size); in CryptRsaLoadPrivateExponent()
1085 cOut->t.size = key->publicArea.unique.rsa.t.size; in CryptRsaEncrypt()
1157 if(cIn->size != key->publicArea.unique.rsa.t.size) in CryptRsaDecrypt()
1213 modSize = key->publicArea.unique.rsa.t.size; in CryptRsaSign()
1274 if(sig->signature.rsassa.sig.t.size != key->publicArea.unique.rsa.t.size) in CryptRsaValidateSignature()
1303 int GetCachedRsaKey(TPMT_PUBLIC *publicArea, TPMT_SENSITIVE *sensitive,
1305 #define GET_CACHED_KEY(publicArea, sensitive, rand) \ argument
1306 (s_rsaKeyCacheEnabled && GetCachedRsaKey(publicArea, sensitive, rand))
1346 TPMT_PUBLIC *publicArea, in CryptRsaGenerateKey() argument
1356 UINT32 e = publicArea->parameters.rsaDetail.exponent; in CryptRsaGenerateKey()
1364 e = publicArea->parameters.rsaDetail.exponent; in CryptRsaGenerateKey()
1378 keySizeInBits = publicArea->parameters.rsaDetail.keyBits; in CryptRsaGenerateKey()
1388 if(GET_CACHED_KEY(publicArea, sensitive, rand)) in CryptRsaGenerateKey()
1436 BnTo2B(bnN, &publicArea->unique.rsa.b, in CryptRsaGenerateKey()
1439 if(((publicArea->unique.rsa.t.buffer[0] & 0x80) == 0) in CryptRsaGenerateKey()
1440 || (publicArea->unique.rsa.t.size in CryptRsaGenerateKey()
1459 if(((publicArea->unique.rsa.t.buffer[0] & 0x80) == 0) in CryptRsaGenerateKey()
1465 if(IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, sign)) in CryptRsaGenerateKey()