/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.h | 40 class HidlBuf : public hidl_vec<uint8_t> { 44 HidlBuf() {} in HidlBuf() function 45 HidlBuf(const super& other) : super(other) {} in HidlBuf() function 46 HidlBuf(super&& other) : super(std::move(other)) { other = {}; } in HidlBuf() function 47 HidlBuf(const HidlBuf& other) : super(other) {} in HidlBuf() function 48 HidlBuf(HidlBuf&& other) : super(std::move(other)) { other = HidlBuf(); } in HidlBuf() function 49 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function 51 HidlBuf& operator=(const super& other) { 56 HidlBuf& operator=(super&& other) { 62 HidlBuf& operator=(const HidlBuf& other) { [all …]
|
D | keymaster_hidl_hal_test.cpp | 409 HidlBuf att_challenge; in verify_attestation_record() 410 HidlBuf att_unique_id; in verify_attestation_record() 411 HidlBuf att_app_id; in verify_attestation_record() 428 expected_sw_enforced.push_back(TAG_ATTESTATION_APPLICATION_ID, HidlBuf(app_id)); in verify_attestation_record() 491 HidlBuf verified_boot_key; in verify_attestation_record() 494 HidlBuf verified_boot_hash; in verify_attestation_record() 607 void CheckCharacteristics(const HidlBuf& key_blob, in CheckCharacteristics() 623 HidlBuf key_blob; in TEST_P() 658 HidlBuf key_blob; in TEST_P() 690 HidlBuf key_blob; in TEST_P() [all …]
|
D | HmacKeySharingTest.cpp | 49 HidlBuf sharing_check; 106 void verifyResponses(const HidlBuf& expected, const std::vector<ComputeHmacResult>& responses) { in verifyResponses() 190 HidlBuf correct_response = responses[0].sharing_check; in TEST_P() 230 HidlBuf correct_response = responses[0].sharing_check; in TEST_P()
|
/hardware/interfaces/keymaster/4.1/vts/functional/ |
D | Keymaster4_1HidlTest.h | 28 using V4_0::test::HidlBuf; 41 HidlBuf blob; 107 ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const std::string& message, 110 ErrorCode UseAesKey(const HidlBuf& aesKeyBlob) { in UseAesKey() 117 ErrorCode UseHmacKey(const HidlBuf& hmacKeyBlob) { in UseHmacKey() 126 ErrorCode UseRsaKey(const HidlBuf& rsaKeyBlob) { in UseRsaKey() 134 ErrorCode UseEcdsaKey(const HidlBuf& ecdsaKeyBlob) { in UseEcdsaKey()
|
D | DeviceUniqueAttestationTest.cpp | 120 HidlBuf empty_boot_key(string(32, '\0')); in check_root_of_trust() 160 void check_attestation_record(AttestationRecord attestation, const HidlBuf& challenge, in check_attestation_record() 236 .Authorization(TAG_ATTESTATION_CHALLENGE, HidlBuf("challenge")) in TEST_P() 237 .Authorization(TAG_ATTESTATION_APPLICATION_ID, HidlBuf("foo")), in TEST_P() 251 .Authorization(TAG_ATTESTATION_CHALLENGE, HidlBuf("challenge")) in TEST_P() 252 .Authorization(TAG_ATTESTATION_APPLICATION_ID, HidlBuf("foo")), in TEST_P() 267 HidlBuf challenge("challenge"); in TEST_P() 268 HidlBuf app_id("foo"); in TEST_P() 314 HidlBuf challenge("challenge"); in TEST_P() 315 HidlBuf app_id("foo"); in TEST_P() [all …]
|
D | Keymaster4_1HidlTest.cpp | 28 auto Keymaster4_1HidlTest::ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, in ProcessMessage()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 380 class HidlBuf : public hidl_vec<uint8_t> { class 384 HidlBuf() {} in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 385 HidlBuf(const super& other) : super(other) {} in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 386 HidlBuf(super&& other) : super(std::move(other)) {} in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 387 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function in android::hardware::keymaster::V3_0::test::__anon93d6503a0111::HidlBuf 389 HidlBuf& operator=(const super& other) { in operator =() 394 HidlBuf& operator=(super&& other) { in operator =() 399 HidlBuf& operator=(const string& other) { in operator =() 454 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, in GenerateKey() 463 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in GenerateKey() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | Benchmark.cpp | 77 class HidlBuf : public hidl_vec<uint8_t> { class 81 HidlBuf() {} in HidlBuf() function in android::hardware::keymaster::V4_0::test::HidlBuf 82 HidlBuf(const super& other) : super(other) {} in HidlBuf() function in android::hardware::keymaster::V4_0::test::HidlBuf 83 HidlBuf(super&& other) : super(std::move(other)) {} in HidlBuf() function in android::hardware::keymaster::V4_0::test::HidlBuf 84 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function in android::hardware::keymaster::V4_0::test::HidlBuf 86 HidlBuf& operator=(const super& other) { in operator =() 91 HidlBuf& operator=(super&& other) { in operator =() 96 HidlBuf& operator=(const string& other) { in operator =() 115 HidlBuf key_blob_; 207 key_blob_ = HidlBuf(); in DeleteKey() [all …]
|