/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 268 return GenerateKey(key_desc, attest_key, &key_blob_, &key_characteristics_, &cert_chain_); in GenerateKey() 311 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey() 325 vector<uint8_t>(wrapped_key.begin(), wrapped_key.end()), key_blob_, in ImportWrappedKey() 334 key_blob_ = std::move(creationResult.keyBlob); in ImportWrappedKey() 426 return DeleteKey(&key_blob_, keep_key_blob); in DeleteKey() 446 CheckedDeleteKey(&key_blob_); in CheckedDeleteKey() 489 return Begin(purpose, key_blob_, in_params, out_params); in Begin() 606 return SignMessage(key_blob_, message, params); in SignMessage() 612 key_blob_, message, in MacMessage() 650 string ciphertext = EncryptMessage(key_blob_, message, params, &out_params); in CheckAesCtrTestVector() [all …]
|
D | KeyMintAidlTestBase.h | 68 if (key_blob_.size()) { in TearDown() 290 vector<uint8_t> key_blob_; variable
|
/hardware/interfaces/security/keymint/aidl/vts/performance/ |
D | KeyMintBenchmark.cpp | 222 Status result = keymint_->deleteKey(key_blob_); in DeleteKey() 223 key_blob_ = vector<uint8_t>(); in DeleteKey() 231 result = keymint_->begin(purpose, key_blob_, in_params.vector_data(), std::nullopt, &out); in Begin() 245 key_blob_.clear(); in GenerateKey() 249 key_blob_ = std::move(creationResult.keyBlob); in GenerateKey() 318 vector<uint8_t> key_blob_; member in aidl::android::hardware::security::keymint::test::KeyMintBenchmarkTest
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 417 if (key_blob_.size()) { in TearDown() 480 return GenerateKey(key_desc, &key_blob_, &key_characteristics_); in GenerateKey() 507 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey() 530 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey() 541 return DeleteKey(&key_blob_, keep_key_blob); in DeleteKey() 554 void CheckedDeleteKey() { CheckedDeleteKey(&key_blob_); } in CheckedDeleteKey() 601 return Begin(purpose, key_blob_, in_params, out_params, &op_handle_); in Begin() 720 return AttestKey(key_blob_, attest_params, cert_chain); in AttestKey() 754 return SignMessage(key_blob_, message, params); in SignMessage() 760 key_blob_, message, in MacMessage() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | Benchmark.cpp | 115 HidlBuf key_blob_; member in android::hardware::keymaster::V4_0::test::KeymasterWrapper 131 key_blob_ = hidl_key_blob; in GenerateKey() 207 key_blob_ = HidlBuf(); in DeleteKey() 209 return keymaster_->deleteKey(key_blob_).isOk(); in DeleteKey() 248 ->begin(operation, key_blob_, in_params.hidl_data(), HardwareAuthToken(), in Begin()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.h | 88 if (key_blob_.size()) { in TearDown() 217 HidlBuf key_blob_; variable
|
D | keymaster_hidl_hal_test.cpp | 774 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 796 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 863 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 897 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 1529 KeyPurpose::SIGN, key_blob_, in TEST_P() 1550 KeyPurpose::SIGN, key_blob_, in TEST_P() 1900 for (size_t i = 0; i < key_blob_.size(); ++i) { in TEST_P() 1901 HidlBuf corrupted(key_blob_); in TEST_P() 1922 for (size_t i = 0; i < key_blob_.size(); ++i) { in TEST_P() 1923 HidlBuf corrupted(key_blob_); in TEST_P() [all …]
|