Home
last modified time | relevance | path

Searched refs:public_data (Results 1 – 8 of 8) sorted by relevance

/system/tpm/trunks/
Dsession_manager_test.cc107 TPM2B_PUBLIC public_data; in TEST_F() local
108 public_data.public_area.unique.rsa = GetValidRSAPublicKey(); in TEST_F()
110 .WillOnce(DoAll(SetArgPointee<2>(public_data), in TEST_F()
126 TPM2B_PUBLIC public_data; in TEST_F() local
127 public_data.public_area.unique.rsa.size = 32; in TEST_F()
129 .WillOnce(DoAll(SetArgPointee<2>(public_data), in TEST_F()
137 TPM2B_PUBLIC public_data; in TEST_F() local
138 public_data.public_area.unique.rsa = GetValidRSAPublicKey(); in TEST_F()
140 .WillOnce(DoAll(SetArgPointee<2>(public_data), in TEST_F()
153 TPM2B_PUBLIC public_data; in TEST_F() local
[all …]
Dsession_manager_impl.cc155 TPM2B_PUBLIC public_data; in EncryptSalt() local
156 public_data.public_area.unique.rsa.size = 0; in EncryptSalt()
158 kSaltingKey, "" /*object_handle_name (not used)*/, &public_data, in EncryptSalt()
173 BN_bin2bn(public_data.public_area.unique.rsa.buffer, in EncryptSalt()
174 public_data.public_area.unique.rsa.size, nullptr); in EncryptSalt()
Dtpm_utility_impl.cc758 TPMT_PUBLIC public_data; in ChangeKeyAuthorizationData() local
759 result = GetKeyPublicArea(key_handle, &public_data); in ChangeKeyAuthorizationData()
764 Make_TPM2B_PUBLIC(public_data), new_private_data, key_blob)) { in ChangeKeyAuthorizationData()
812 TPM2B_PUBLIC public_data = Make_TPM2B_PUBLIC(public_area); in ImportRSAKey() local
836 public_data, in ImportRSAKey()
848 public_data, tpm_private_data, key_blob)) { in ImportRSAKey()
999 TPMT_PUBLIC public_data; in GetKeyName() local
1000 result = GetKeyPublicArea(handle, &public_data); in GetKeyName()
1005 result = ComputeKeyName(public_data, name); in GetKeyName()
1014 TPMT_PUBLIC* public_data) { in GetKeyPublicArea() argument
[all …]
Dtpm_utility.h226 TPMT_PUBLIC* public_data) = 0;
296 TPMS_NV_PUBLIC* public_data) = 0;
Dtpm_utility_impl.h112 TPMT_PUBLIC* public_data) override;
141 TPMS_NV_PUBLIC* public_data) override;
Dtrunks_factory_for_test.cc280 TPMT_PUBLIC* public_data) override { in GetKeyPublicArea() argument
281 return target_->GetKeyPublicArea(handle, public_data); in GetKeyPublicArea()
345 TPMS_NV_PUBLIC* public_data) override { in GetNVSpacePublicArea() argument
346 return target_->GetNVSpacePublicArea(index, public_data); in GetNVSpacePublicArea()
Dtpm_utility_test.cc1243 TPM2B_PUBLIC public_data; in TEST_F() local
1247 SaveArg<3>(&public_data), in TEST_F()
1259 EXPECT_EQ(public_data.public_area.parameters.rsa_detail.key_bits, in TEST_F()
1261 EXPECT_EQ(public_data.public_area.parameters.rsa_detail.exponent, in TEST_F()
1263 EXPECT_EQ(public_data.public_area.unique.rsa.size, modulus.size()); in TEST_F()
1264 EXPECT_EQ(0, memcmp(public_data.public_area.unique.rsa.buffer, in TEST_F()
1282 ComputeKeyName(public_data.public_area, &object_name)); in TEST_F()
1575 TPM2B_PUBLIC public_data; in TEST_F() local
1576 public_data.public_area.auth_policy.size = 0; in TEST_F()
1578 .WillRepeatedly(DoAll(SetArgPointee<2>(public_data), in TEST_F()
[all …]
Dtpm_generated_test.cc146 std::string public_data("\x00\x12" // public.size = 18 in TEST() local
186 sensitive + public_data + outside + pcr_select; in TEST()
188 public_data + data + hash + ticket + name + in TEST()