Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp290 auto& unprotParms = recipient->asArray()->get(1); in getSenderPubKeyFromCoseEncrypt() local
291 if (!unprotParms || !unprotParms->asMap()) return "Invalid unprotected params"; in getSenderPubKeyFromCoseEncrypt()
293 auto& senderCoseKey = unprotParms->asMap()->get(COSE_KEY); in getSenderPubKeyFromCoseEncrypt()
312 auto& key_id = unprotParms->asMap()->get(KEY_ID); in getSenderPubKeyFromCoseEncrypt()
329 auto& unprotParms = coseEncrypt->asArray()->get(kCoseEncryptUnprotectedParams); in decryptCoseEncrypt() local
333 if (!protParms || !protParms->asBstr() || !unprotParms || !ciphertext || !recipients) { in decryptCoseEncrypt()
350 if (!unprotParms->asMap() || unprotParms->asMap()->size() != 1) { in decryptCoseEncrypt()
354 auto& nonce = unprotParms->asMap()->get(IV); in decryptCoseEncrypt()