Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp304 ErrMsgOr<bytevec> createECDSACoseSign1Signature(const bytevec& key, const bytevec& protectedParams, in createECDSACoseSign1Signature() argument
308 .add(protectedParams) in createECDSACoseSign1Signature()
318 ErrMsgOr<bytevec> createCoseSign1Signature(const bytevec& key, const bytevec& protectedParams, in createCoseSign1Signature() argument
322 .add(protectedParams) in createCoseSign1Signature()
336 ErrMsgOr<cppbor::Array> constructECDSACoseSign1(const bytevec& key, cppbor::Map protectedParams, in constructECDSACoseSign1() argument
338 bytevec protParms = protectedParams.add(ALGORITHM, ES256).canonicalize().encode(); in constructECDSACoseSign1()
349 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, cppbor::Map protectedParams, in constructCoseSign1() argument
351 bytevec protParms = protectedParams.add(ALGORITHM, EDDSA).canonicalize().encode(); in constructCoseSign1()
373 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in verifyAndParseCoseSign1() local
377 if (!protectedParams || !unprotectedParams || !payload) { in verifyAndParseCoseSign1()
[all …]
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h293 ErrMsgOr<bytevec> createCoseSign1Signature(const bytevec& key, const bytevec& protectedParams,
317 const bytevec& protectedParams, const bytevec& aad);