/hardware/interfaces/keymaster/4.1/vts/functional/ |
D | UnlockedDeviceRequiredTest.cpp | 38 CreateTestKeys(TAG_UNLOCKED_DEVICE_REQUIRED, ErrorCode::OK); in TEST_P() 40 EXPECT_EQ(ErrorCode::OK, UseAesKey(aesKeyData.blob)); in TEST_P() 41 EXPECT_EQ(ErrorCode::OK, UseHmacKey(hmacKeyData.blob)); in TEST_P() 42 EXPECT_EQ(ErrorCode::OK, UseRsaKey(rsaKeyData.blob)); in TEST_P() 43 EXPECT_EQ(ErrorCode::OK, UseEcdsaKey(ecdsaKeyData.blob)); in TEST_P() 45 Return<ErrorCode> rc = in TEST_P() 48 ASSERT_EQ(ErrorCode::OK, static_cast<ErrorCode>(rc)); in TEST_P() 50 EXPECT_EQ(ErrorCode::DEVICE_LOCKED, UseAesKey(aesKeyData.blob)); in TEST_P() 51 EXPECT_EQ(ErrorCode::DEVICE_LOCKED, UseHmacKey(hmacKeyData.blob)); in TEST_P() 52 EXPECT_EQ(ErrorCode::DEVICE_LOCKED, UseRsaKey(rsaKeyData.blob)); in TEST_P() [all …]
|
D | EarlyBootKeyTest.cpp | 34 CreateTestKeys(TAG_EARLY_BOOT_ONLY, ErrorCode::EARLY_BOOT_ENDED); in TEST_P() 49 CreateTestKeys(TAG_EARLY_BOOT_ONLY, ErrorCode::OK); in TEST_P() 58 EXPECT_EQ(ErrorCode::OK, UseAesKey(aesKeyData.blob)); in TEST_P() 59 EXPECT_EQ(ErrorCode::OK, UseHmacKey(hmacKeyData.blob)); in TEST_P() 60 EXPECT_EQ(ErrorCode::OK, UseRsaKey(rsaKeyData.blob)); in TEST_P() 61 EXPECT_EQ(ErrorCode::OK, UseEcdsaKey(ecdsaKeyData.blob)); in TEST_P() 64 Return<ErrorCode> earlyBootResult = keymaster().earlyBootEnded(); in TEST_P() 66 EXPECT_EQ(earlyBootResult, ErrorCode::OK); in TEST_P() 69 EXPECT_EQ(ErrorCode::EARLY_BOOT_ENDED, UseAesKey(aesKeyData.blob)); in TEST_P() 70 EXPECT_EQ(ErrorCode::EARLY_BOOT_ENDED, UseHmacKey(hmacKeyData.blob)); in TEST_P() [all …]
|
D | Keymaster4_1HidlTest.h | 34 ErrorCode convert(V4_0::ErrorCode error_code) { return static_cast<ErrorCode>(error_code); } in convert() 45 std::tuple<ErrorCode, KeyData> GenerateKeyData(const AuthorizationSet& keyDescription) { in GenerateKeyData() 47 ErrorCode errorCode = convert( in GenerateKeyData() 57 CreateTestKeys(TagType tagToTest, ErrorCode expectedReturn) { in CreateTestKeys() 58 ErrorCode errorCode; in CreateTestKeys() 106 std::tuple<ErrorCode, std::string /* processedMessage */, AuthorizationSet /* out_params */> 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 | 224 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P() 232 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, in TEST_P() 241 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P() 247 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, in TEST_P() 259 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P() 269 ErrorCode result = in TEST_P() 277 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P() 279 EXPECT_EQ(ErrorCode::OK, result); in TEST_P() 286 ASSERT_EQ(ErrorCode::OK, err); in TEST_P() 307 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P() [all …]
|
D | Keymaster4_1HidlTest.cpp | 30 -> std::tuple<ErrorCode, string, AuthorizationSet /* out_params */> { in ProcessMessage() 32 V4_0::ErrorCode result = Begin(operation, key_blob, in_params, &begin_out_params, &op_handle_); in ProcessMessage() 34 if (result != V4_0::ErrorCode::OK) { in ProcessMessage() 44 if (result != V4_0::ErrorCode::OK) { in ProcessMessage()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 423 EXPECT_EQ(ErrorCode::OK, error); in verify_attestation_record() 424 if (error != ErrorCode::OK) return false; in verify_attestation_record() 497 EXPECT_EQ(ErrorCode::OK, error); in verify_attestation_record() 610 ASSERT_EQ(ErrorCode::OK, GetCharacteristics(key_blob, &retrieved_chars)); in CheckCharacteristics() 625 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P() 660 ASSERT_EQ(ErrorCode::UNSUPPORTED_KEY_SIZE, in TEST_P() 675 ASSERT_EQ(ErrorCode::UNSUPPORTED_KEY_SIZE, in TEST_P() 693 ErrorCode::OK, in TEST_P() 721 ASSERT_EQ(ErrorCode::UNSUPPORTED_KEY_SIZE, in TEST_P() 738 ErrorCode::UNSUPPORTED_KEY_SIZE, in TEST_P() [all …]
|
D | KeymasterHidlTest.h | 99 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, 101 ErrorCode GenerateKey(const AuthorizationSet& key_desc); 103 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format, 106 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format, 109 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key, 113 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id, 115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material); 117 ErrorCode DeleteKey(HidlBuf* key_blob, bool keep_key_blob = false); 118 ErrorCode DeleteKey(bool keep_key_blob = false); 120 ErrorCode DeleteAllKeys(); [all …]
|
D | HmacKeySharingTest.cpp | 42 ErrorCode error; 48 ErrorCode error; 71 EXPECT_EQ(ErrorCode::OK, result.error); in getHmacSharingParameters() 72 if (result.error == ErrorCode::OK) paramsVec.push_back(std::move(result.params)); in getHmacSharingParameters() 108 EXPECT_EQ(ErrorCode::OK, response.error); in verifyResponses() 121 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 124 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P() 203 EXPECT_EQ(ErrorCode::INVALID_ARGUMENT, responses[i].error) in TEST_P() 206 EXPECT_EQ(ErrorCode::OK, responses[i].error) << "Others should succeed"; in TEST_P() 246 EXPECT_EQ(ErrorCode::INVALID_ARGUMENT, responses[i].error) in TEST_P() [all …]
|
D | VerificationTokenTest.cpp | 29 ErrorCode error; 86 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, result1.error); in TEST_P() 90 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 104 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P() 146 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, result1.error); in TEST_P() 150 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 165 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 454 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, in GenerateKey() 460 ErrorCode error; in GenerateKey() 463 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in GenerateKey() 471 if (error != ErrorCode::OK) { in GenerateKey() 479 ErrorCode GenerateKey(const AuthorizationSet& key_desc) { in GenerateKey() 483 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format, in ImportKey() 486 ErrorCode error; in ImportKey() 489 [&](ErrorCode hidl_error, const HidlBuf& hidl_key_blob, in ImportKey() 497 if (error != ErrorCode::OK) { in ImportKey() 505 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format, in ImportKey() [all …]
|
/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/ |
D | Keymaster3.h | 52 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in getHmacSharingParameters() 58 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in computeSharedHmac() 65 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in verifyAuthorization() 69 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override; 85 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}, {}); in importWrappedKey() 98 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override; 99 Return<V4_0::ErrorCode> deleteAllKeys() override; 100 Return<V4_0::ErrorCode> destroyAttestationIds() override; 111 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override; 117 Return<ErrorCode> deviceLocked(bool /* passwordOnly */, in deviceLocked() [all …]
|
D | Keymaster4.h | 68 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override { in addRngEntropy() 117 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override { in deleteKey() 121 Return<V4_0::ErrorCode> deleteAllKeys() override { return km4_0_dev_->deleteAllKeys(); } in deleteAllKeys() 123 Return<V4_0::ErrorCode> destroyAttestationIds() override { in destroyAttestationIds() 148 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override { in abort() 156 Return<ErrorCode> deviceLocked(bool passwordOnly, in deviceLocked() 159 return ErrorCode::UNIMPLEMENTED; in deviceLocked() 162 Return<ErrorCode> earlyBootEnded() override { in earlyBootEnded() 164 return ErrorCode::UNIMPLEMENTED; in earlyBootEnded()
|
D | Keymaster.h | 73 void logIfKeymasterVendorError(ErrorCode ec) const; 74 void logIfKeymasterVendorError(V4_0::ErrorCode ec) const { in logIfKeymasterVendorError() 75 logIfKeymasterVendorError(static_cast<ErrorCode>(ec)); in logIfKeymasterVendorError()
|
/hardware/interfaces/keymaster/4.1/support/ |
D | Keymaster3.cpp | 29 V4_0::ErrorCode convert(V3_0::ErrorCode error) { in convert() 30 return static_cast<V4_0::ErrorCode>(error); in convert() 141 Return<V4_0::ErrorCode> Keymaster3::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy() 144 return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in addRngEntropy() 151 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in generateKey() 164 auto cb = [&](V3_0::ErrorCode error, const V3_0::KeyCharacteristics& chars) { in getKeyCharacteristics() 175 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in importKey() 187 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyMaterial) { in exportKey() 198 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<hidl_vec<uint8_t>>& certChain) { in attestKey() 209 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& upgradedKeyBlob) { in upgradeKey() [all …]
|
D | attestation_record.cpp | 283 static ErrorCode extract_auth_list(const KM_AUTH_LIST* record, AuthorizationSet* auth_list) { in extract_auth_list() 284 if (!record) return ErrorCode::OK; in extract_auth_list() 325 return ErrorCode::OK; in extract_auth_list() 332 std::tuple<ErrorCode, AttestationRecord> parse_attestation_record(const hidl_vec<uint8_t>& cert) { in MAKE_OPENSSL_PTR_TYPE() 337 return {ErrorCode::INVALID_ARGUMENT, {}}; in MAKE_OPENSSL_PTR_TYPE() 343 return {ErrorCode::UNKNOWN_ERROR, {}}; in MAKE_OPENSSL_PTR_TYPE() 349 return {ErrorCode::UNKNOWN_ERROR, {}}; in MAKE_OPENSSL_PTR_TYPE() 355 return {ErrorCode::UNKNOWN_ERROR, {}}; in MAKE_OPENSSL_PTR_TYPE() 361 return {ErrorCode::UNKNOWN_ERROR, {}}; in MAKE_OPENSSL_PTR_TYPE() 368 return {ErrorCode::UNKNOWN_ERROR, {}}; in MAKE_OPENSSL_PTR_TYPE() [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.h | 82 ErrorCode GetReturnErrorCode(const Status& result); 84 ErrorCode GenerateKey(const AuthorizationSet& key_desc, vector<uint8_t>* key_blob, in GenerateKey() 89 ErrorCode GenerateKey(const AuthorizationSet& key_desc, 93 ErrorCode GenerateKey(const AuthorizationSet& key_desc, 96 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format, 99 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format, 102 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key, 106 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key, in ImportWrappedKey() 113 ErrorCode GetCharacteristics(const vector<uint8_t>& key_blob, const vector<uint8_t>& app_id, 116 ErrorCode GetCharacteristics(const vector<uint8_t>& key_blob, [all …]
|
D | DeviceUniqueAttestationTest.cpp | 85 ASSERT_TRUE(result == ErrorCode::INVALID_ARGUMENT || result == ErrorCode::UNSUPPORTED_TAG); in TEST_P() 112 ASSERT_TRUE(result == ErrorCode::INVALID_ARGUMENT || result == ErrorCode::UNSUPPORTED_TAG); in TEST_P() 141 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P() 143 ASSERT_EQ(ErrorCode::OK, result); in TEST_P() 197 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P() 198 ASSERT_EQ(ErrorCode::OK, result); in TEST_P() 263 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P() 264 ASSERT_EQ(ErrorCode::OK, result); in TEST_P() 333 ASSERT_TRUE(result == ErrorCode::CANNOT_ATTEST_IDS || result == ErrorCode::INVALID_TAG); in TEST_P()
|
D | KeyMintAidlTestBase.cpp | 190 ErrorCode KeyMintAidlTestBase::GetReturnErrorCode(const Status& result) { in GetReturnErrorCode() 191 if (result.isOk()) return ErrorCode::OK; in GetReturnErrorCode() 194 return static_cast<ErrorCode>(result.getServiceSpecificError()); in GetReturnErrorCode() 197 return ErrorCode::UNKNOWN_ERROR; in GetReturnErrorCode() 226 ErrorCode KeyMintAidlTestBase::GenerateKey(const AuthorizationSet& key_desc, in GenerateKey() 266 ErrorCode KeyMintAidlTestBase::GenerateKey(const AuthorizationSet& key_desc, in GenerateKey() 271 ErrorCode KeyMintAidlTestBase::ImportKey(const AuthorizationSet& key_desc, KeyFormat format, in ImportKey() 309 ErrorCode KeyMintAidlTestBase::ImportKey(const AuthorizationSet& key_desc, KeyFormat format, in ImportKey() 314 ErrorCode KeyMintAidlTestBase::ImportWrappedKey(string wrapped_key, string wrapping_key, in ImportWrappedKey() 319 EXPECT_EQ(ErrorCode::OK, ImportKey(wrapping_key_desc, KeyFormat::PKCS8, wrapping_key)); in ImportWrappedKey() [all …]
|
D | AttestKeyTest.cpp | 52 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P() 70 EXPECT_EQ(ErrorCode::OK, in TEST_P() 100 EXPECT_EQ(ErrorCode::OK, in TEST_P() 133 EXPECT_EQ(ErrorCode::OK, in TEST_P() 201 ASSERT_EQ(ErrorCode::OK, in TEST_P() 238 EXPECT_EQ(ErrorCode::OK, in TEST_P() 300 EXPECT_EQ(ErrorCode::OK, in TEST_P() 372 EXPECT_EQ(ErrorCode::OK, in TEST_P() 447 EXPECT_EQ(ErrorCode::OK, in TEST_P() 460 EXPECT_EQ(ErrorCode::OK, in TEST_P() [all …]
|
/hardware/interfaces/security/sharedsecret/aidl/vts/functional/ |
D | SharedSecretAidlTest.cpp | 28 using ::aidl::android::hardware::security::keymint::ErrorCode; 36 ErrorCode error; 42 ErrorCode error; 50 EXPECT_EQ(ErrorCode::OK, error); in getSharedSecretParameters() 63 EXPECT_EQ(ErrorCode::OK, result.error); in getAllSharedSecretParameters() 64 if (result.error == ErrorCode::OK) paramsVec.push_back(std::move(result.params)); in getAllSharedSecretParameters() 96 EXPECT_EQ(ErrorCode::OK, response.error); in verifyResponses() 101 ErrorCode GetReturnErrorCode(const Status& result) { in GetReturnErrorCode() 102 if (result.isOk()) return ErrorCode::OK; in GetReturnErrorCode() 104 return static_cast<ErrorCode>(result.getServiceSpecificError()); in GetReturnErrorCode() [all …]
|
/hardware/interfaces/security/secureclock/aidl/vts/functional/ |
D | SecureClockAidlTest.cpp | 30 using ::aidl::android::hardware::security::keymint::ErrorCode; 38 ErrorCode error; 69 ErrorCode GetReturnErrorCode(const Status& result) { in GetReturnErrorCode() 70 if (result.isOk()) return ErrorCode::OK; in GetReturnErrorCode() 73 return static_cast<ErrorCode>(result.getServiceSpecificError()); in GetReturnErrorCode() 76 return ErrorCode::UNKNOWN_ERROR; in GetReturnErrorCode() 114 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 124 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P() 155 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 165 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
|
/hardware/interfaces/keymaster/3.0/ |
D | IKeymasterDevice.hal | 71 * @return error See the ErrorCode enum in types.hal. 73 addRngEntropy(vec<uint8_t> data) generates(ErrorCode error); 81 * @return error See the ErrorCode enum in types.hal. 90 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics); 102 * @return error See the ErrorCode enum. 110 * @return error See the ErrorCode enum. 113 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics); 131 * @return error See the ErrorCode enum in types.hal. 137 generates(ErrorCode error, KeyCharacteristics keyCharacteristics); 157 * @return error See the ErrorCode enum in types.hal. [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/performance/ |
D | KeyMintBenchmark.cpp | 151 if (DeleteKey() != ErrorCode::OK) { in GenerateKey() 189 return error_ == ErrorCode::OK; in GenerateKey() 210 ErrorCode result; in Process() 214 if (result != ErrorCode::OK) { in Process() 221 ErrorCode DeleteKey() { in DeleteKey() 227 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params, in Begin() 243 ErrorCode GenerateKey(const AuthorizationSet& key_desc, in GenerateKey() 272 ErrorCode Finish(const string& input, const string& signature, string* output) { in Finish() 275 return ErrorCode::UNEXPECTED_NULL_POINTER; in Finish() 290 ErrorCode Update(const string& input, string* output) { in Update() [all …]
|
/hardware/interfaces/keymaster/4.0/support/ |
D | attestation_record.cpp | 268 static ErrorCode extract_auth_list(const KM_AUTH_LIST* record, AuthorizationSet* auth_list) { in extract_auth_list() 269 if (!record) return ErrorCode::OK; in extract_auth_list() 307 return ErrorCode::OK; in extract_auth_list() 314 ErrorCode parse_attestation_record(const uint8_t* asn1_key_desc, size_t asn1_key_desc_len, in MAKE_OPENSSL_PTR_TYPE() 325 if (!record.get()) return ErrorCode::UNKNOWN_ERROR; in MAKE_OPENSSL_PTR_TYPE() 341 ErrorCode error = extract_auth_list(record->software_enforced, software_enforced); in MAKE_OPENSSL_PTR_TYPE() 342 if (error != ErrorCode::OK) return error; in MAKE_OPENSSL_PTR_TYPE() 347 ErrorCode parse_root_of_trust(const uint8_t* asn1_key_desc, size_t asn1_key_desc_len, in parse_root_of_trust() 353 return ErrorCode::INVALID_ARGUMENT; in parse_root_of_trust() 359 return ErrorCode::UNKNOWN_ERROR; in parse_root_of_trust() [all …]
|
/hardware/interfaces/security/keymint/support/ |
D | attestation_record.cpp | 281 static ErrorCode extract_auth_list(const KM_AUTH_LIST* record, AuthorizationSet* auth_list) { in extract_auth_list() 282 if (!record) return ErrorCode::OK; in extract_auth_list() 327 return ErrorCode::OK; in extract_auth_list() 334 ErrorCode parse_attestation_record(const uint8_t* asn1_key_desc, size_t asn1_key_desc_len, in MAKE_OPENSSL_PTR_TYPE() 344 if (!record.get()) return ErrorCode::UNKNOWN_ERROR; in MAKE_OPENSSL_PTR_TYPE() 360 ErrorCode error = extract_auth_list(record->software_enforced, software_enforced); in MAKE_OPENSSL_PTR_TYPE() 361 if (error != ErrorCode::OK) return error; in MAKE_OPENSSL_PTR_TYPE() 366 ErrorCode parse_root_of_trust(const uint8_t* asn1_key_desc, size_t asn1_key_desc_len, in parse_root_of_trust() 371 return ErrorCode::INVALID_ARGUMENT; in parse_root_of_trust() 377 return ErrorCode::UNKNOWN_ERROR; in parse_root_of_trust() [all …]
|