Searched refs:HidlBuf (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.h | 41 class HidlBuf : public hidl_vec<uint8_t> { 45 HidlBuf() {} in HidlBuf() function 46 HidlBuf(const super& other) : super(other) {} in HidlBuf() function 47 HidlBuf(super&& other) : super(std::move(other)) {} in HidlBuf() function 48 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function 50 HidlBuf& operator=(const super& other) { 55 HidlBuf& operator=(super&& other) { 60 HidlBuf& operator=(const string& other) { 108 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, 113 const string& key_material, HidlBuf* key_blob, [all …]
|
D | KeymasterHidlTest.cpp | 84 ErrorCode KeymasterHidlTest::GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, in GenerateKey() 94 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in GenerateKey() 115 const string& key_material, HidlBuf* key_blob, in ImportKey() 119 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material), in ImportKey() 120 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in ImportKey() 148 ->importWrappedKey(HidlBuf(wrapped_key), key_blob_, HidlBuf(masking_key), in ImportWrappedKey() 151 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in ImportWrappedKey() 161 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, const HidlBuf& key_blob, in ExportKey() 162 const HidlBuf& client_id, const HidlBuf& app_data, in ExportKey() 163 HidlBuf* key_material) { in ExportKey() [all …]
|
D | keymaster_hidl_hal_test.cpp | 290 HidlBuf att_challenge; in verify_attestation_record() 291 HidlBuf att_unique_id; in verify_attestation_record() 292 HidlBuf att_app_id; in verify_attestation_record() 307 expected_sw_enforced.push_back(TAG_ATTESTATION_APPLICATION_ID, HidlBuf(app_id)); in verify_attestation_record() 364 void CheckCharacteristics(const HidlBuf& key_blob, in CheckCharacteristics() 380 HidlBuf key_blob; in TEST_F() 415 HidlBuf key_blob; in TEST_F() 446 HidlBuf key_blob; in TEST_F() 491 HidlBuf key_blob; in TEST_F() 559 HidlBuf key_blob; in TEST_F() [all …]
|
D | HmacKeySharingTest.cpp | 39 HidlBuf sharing_check; 96 void verifyResponses(const HidlBuf& expected, const std::vector<ComputeHmacResult>& responses) { in verifyResponses() 174 HidlBuf correct_response = responses[0].sharing_check; in TEST_F() 213 HidlBuf correct_response = responses[0].sharing_check; in TEST_F()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 382 class HidlBuf : public hidl_vec<uint8_t> { class 386 HidlBuf() {} in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 387 HidlBuf(const super& other) : super(other) {} in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 388 HidlBuf(super&& other) : super(std::move(other)) {} in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 389 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 391 HidlBuf& operator=(const super& other) { in operator =() 396 HidlBuf& operator=(super&& other) { in operator =() 401 HidlBuf& operator=(const string& other) { in operator =() 472 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, in GenerateKey() 481 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in GenerateKey() [all …]
|