Loading security/keymint/aidl/android/hardware/security/keymint/ProtectedData.aidl +2 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,8 @@ parcelable ProtectedData { * ] * * SignedMacAad = [ * challenge : bstr, * challenge : bstr .size (32..64), // Size between 32 - 64 * // bytes inclusive * VerifiedDeviceInfo, * tag: bstr // This is the tag from COSE_Mac0 of * // KeysToCertify, to tie the key set to Loading security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -358,8 +358,7 @@ TEST_P(GenerateKeyTests, generateEcdsaP256Key_testMode) { class CertificateRequestTest : public VtsRemotelyProvisionedComponentTests { protected: CertificateRequestTest() : eekId_(string_to_bytevec("eekid")), challenge_(randomBytes(32)) { } CertificateRequestTest() : eekId_(string_to_bytevec("eekid")), challenge_(randomBytes(64)) {} void generateTestEekChain(size_t eekLength) { auto chain = generateEekChain(rpcHardwareInfo.supportedEekCurve, eekLength, eekId_); Loading Loading
security/keymint/aidl/android/hardware/security/keymint/ProtectedData.aidl +2 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,8 @@ parcelable ProtectedData { * ] * * SignedMacAad = [ * challenge : bstr, * challenge : bstr .size (32..64), // Size between 32 - 64 * // bytes inclusive * VerifiedDeviceInfo, * tag: bstr // This is the tag from COSE_Mac0 of * // KeysToCertify, to tie the key set to Loading
security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -358,8 +358,7 @@ TEST_P(GenerateKeyTests, generateEcdsaP256Key_testMode) { class CertificateRequestTest : public VtsRemotelyProvisionedComponentTests { protected: CertificateRequestTest() : eekId_(string_to_bytevec("eekid")), challenge_(randomBytes(32)) { } CertificateRequestTest() : eekId_(string_to_bytevec("eekid")), challenge_(randomBytes(64)) {} void generateTestEekChain(size_t eekLength) { auto chain = generateEekChain(rpcHardwareInfo.supportedEekCurve, eekLength, eekId_); Loading