Searched refs:protParms (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/cppcose/ |
D | cppcose.cpp | 338 bytevec protParms = protectedParams.add(ALGORITHM, ES256).canonicalize().encode(); in constructECDSACoseSign1() local 339 auto signature = createECDSACoseSign1Signature(key, protParms, payload, aad); in constructECDSACoseSign1() 343 .add(std::move(protParms)) in constructECDSACoseSign1() 351 bytevec protParms = protectedParams.add(ALGORITHM, EDDSA).canonicalize().encode(); in constructCoseSign1() local 352 auto signature = createCoseSign1Signature(key, protParms, payload, aad); in constructCoseSign1() 356 .add(std::move(protParms)) in constructCoseSign1() 514 auto& protParms = recipient->asArray()->get(0); in getSenderPubKeyFromCoseEncrypt() local 515 if (!protParms || !protParms->asBstr()) return "Invalid protected params"; in getSenderPubKeyFromCoseEncrypt() 516 auto [parsedProtParms, _, errMsg] = cppbor::parse(protParms->asBstr()); in getSenderPubKeyFromCoseEncrypt() 582 auto& protParms = coseEncrypt->asArray()->get(kCoseEncryptProtectedParams); in decryptCoseEncrypt() local [all …]
|