Searched refs:keyType (Results 1 – 3 of 3) sorted by relevance
36 void add_legacy_key_authorizations(int keyType, keystore::AuthorizationSet* params);
108 void add_legacy_key_authorizations(int keyType, keystore::AuthorizationSet* params) { in add_legacy_key_authorizations() argument115 if (keyType == EVP_PKEY_RSA) { in add_legacy_key_authorizations()
531 auto& keyType = senderCoseKey->asMap()->get(CoseKey::KEY_TYPE); in getSenderPubKeyFromCoseEncrypt() local532 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()