Home
last modified time | relevance | path

Searched refs:protectedParams (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/security/keymint/support/
Dremote_prov_utils.cpp107 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in verifyAndParseCoseSign1Cwt() local
112 if (!protectedParams || !unprotectedParams || !payload || !signature) { in verifyAndParseCoseSign1Cwt()
116 auto [parsedProtParams, _, errMsg] = cppbor::parse(protectedParams); in verifyAndParseCoseSign1Cwt()
144 cppbor::Array().add("Signature1").add(*protectedParams).add(aad).add(*payload).encode(); in verifyAndParseCoseSign1Cwt()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp88 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in corrupt_sig() local
92 if (!protectedParams || !unprotectedParams || !payload || !signature) { in corrupt_sig()
97 corruptSig.add(protectedParams->clone()); in corrupt_sig()