Home
last modified time | relevance | path

Searched refs:key_blob_ (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.cpp94 return GenerateKey(key_desc, &key_blob_, &key_characteristics_); in GenerateKey()
121 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
131 ->importWrappedKey(HidlBuf(wrapped_key), key_blob_, HidlBuf(masking_key), in ImportWrappedKey()
137 key_blob_ = hidl_key_blob; in ImportWrappedKey()
164 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
175 return DeleteKey(&key_blob_, keep_key_blob); in DeleteKey()
189 CheckedDeleteKey(&key_blob_); in CheckedDeleteKey()
273 return Begin(purpose, key_blob_, in_params, out_params, &op_handle_); in Begin()
396 return AttestKey(key_blob_, attest_params, cert_chain); in AttestKey()
436 return SignMessage(key_blob_, message, params); in SignMessage()
[all …]
DKeymasterHidlTest.h88 if (key_blob_.size()) { in TearDown()
217 HidlBuf key_blob_; variable
Dkeymaster_hidl_hal_test.cpp687 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
709 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
776 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
810 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
1421 KeyPurpose::SIGN, key_blob_, in TEST_P()
1442 KeyPurpose::SIGN, key_blob_, in TEST_P()
1792 for (size_t i = 0; i < key_blob_.size(); ++i) { in TEST_P()
1793 HidlBuf corrupted(key_blob_); in TEST_P()
1814 for (size_t i = 0; i < key_blob_.size(); ++i) { in TEST_P()
1815 HidlBuf corrupted(key_blob_); in TEST_P()
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp417 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/
DBenchmark.cpp115 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()