[VTS10R3]VtsHalKeymasterV4_0Target

问题描述

VtsHalKeymasterV4_0Target
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.Success(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.SuccessMasked(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.WrongMask(default)_32bit
Fail1:
java.security.KeyStoreException: Failed to import wrapped key. Keystore error code: -13
Fail2:
hardware/interfaces/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp:2313
Expected equality of these values:
  ErrorCode::VERIFICATION_FAILED
    Which is: 4-byte object <E2-FF FF-FF>
  ImportWrappedKey( wrapped_key_masked, wrapping_key, wrapping_key_desc, zero_masking_key, AuthorizationSetBuilder() .Digest(Digest::SHA_2_256) .Padding(PaddingMode::RSA_OAEP))
    Which is: 4-byte object <F3-FF FF-FF>

解决方案

Tee问题引起的,需要找对应vendor解决
Q0.mp1申请:ALPS05051555
Q0.mp2申请:ALPS05048765
Q0.mp2.tc8sp申请:ALPS05056422

微信扫码打赏

作者: RESSRC

个人资源站

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据