Home
last modified time | relevance | path

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

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1507 vector<uint8_t> coseEncodeHeaders(const cppbor::Map& protectedHeaders) { in coseEncodeHeaders() argument
1508 if (protectedHeaders.size() == 0) { in coseEncodeHeaders()
1512 return protectedHeaders.encode(); in coseEncodeHeaders()
1581 cppbor::Map protectedHeaders; in coseSignEcDsa() local
1588 protectedHeaders.add(COSE_LABEL_ALG, COSE_ALG_ECDSA_256); in coseSignEcDsa()
1607 vector<uint8_t> encodedProtectedHeaders = coseEncodeHeaders(protectedHeaders); in coseSignEcDsa()
1833 cppbor::Map protectedHeaders; in coseMac0() local
1840 protectedHeaders.add(COSE_LABEL_ALG, COSE_ALG_HMAC_256_256); in coseMac0()
1842 vector<uint8_t> encodedProtectedHeaders = coseEncodeHeaders(protectedHeaders); in coseMac0()