Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp531 auto& keyType = senderCoseKey->asMap()->get(CoseKey::KEY_TYPE); in getSenderPubKeyFromCoseEncrypt() local
532 if (!keyType || !keyType->asInt() || in getSenderPubKeyFromCoseEncrypt()
533 (keyType->asInt()->value() != OCTET_KEY_PAIR && keyType->asInt()->value() != EC2)) { in getSenderPubKeyFromCoseEncrypt()
539 (keyType->asInt()->value() == OCTET_KEY_PAIR && curve->asInt()->value() != X25519) || in getSenderPubKeyFromCoseEncrypt()
540 (keyType->asInt()->value() == EC2 && curve->asInt()->value() != P256)) { in getSenderPubKeyFromCoseEncrypt()
545 if (keyType->asInt()->value() == EC2) { in getSenderPubKeyFromCoseEncrypt()