Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp74 .add(cppbor::Map().add(ALGORITHM, HMAC_256).canonicalize().encode()) in generateCoseMac0Mac()
93 .add(cppbor::Map().add(ALGORITHM, HMAC_256).canonicalize().encode()) in constructCoseMac0()
118 auto& algo = protectedMap->asMap()->get(ALGORITHM); in verifyAndParseCoseMac0()
157 bytevec protParms = protectedParams.add(ALGORITHM, EDDSA).canonicalize().encode(); in constructCoseSign1()
195 auto& algorithm = parsedProtParams->asMap()->get(ALGORITHM); in verifyAndParseCoseSign1()
241 .add(ALGORITHM, AES_GCM_256) in constructCoseEncrypt()
285 auto& algorithm = parsedProtParms->asMap()->get(ALGORITHM); in getSenderPubKeyFromCoseEncrypt()
345 auto& algorithm = parsedProtParams->asMap()->get(ALGORITHM); in decryptCoseEncrypt()
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp24 using cppcose::ALGORITHM;
154 auto& algo = protectedMap->asMap()->get(ALGORITHM); in validateAndExtractPubkeys()
197 .add(ALGORITHM, ECDH_ES_HKDF_256) in buildCertReqRecipients()
Dandroid_keymaster.cpp384 .add(CoseKey::ALGORITHM, ES256) in GenerateRkpKey()
/system/security/ondevice-signing/
DKeystoreHmacKey.cpp72 algo.tag = Tag::ALGORITHM; in createKey()
163 algo.tag = Tag::ALGORITHM; in getVerifyOpParameters()
184 algo.tag = Tag::ALGORITHM; in getSignOpParameters()
DKeystoreKey.cpp79 algo.tag = Tag::ALGORITHM; in createKey()
271 algo.tag = Tag::ALGORITHM; in getSignOpParameters()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h62 ALGORITHM = 1, enumerator
131 ALGORITHM = 3, enumerator
153 !key->checkIntValue(CoseKey::ALGORITHM, expectedAlgorithm) || in parse()
/system/security/keystore2/src/km_compat/
Dlib.rs88 tag: Tag::ALGORITHM, in generate_rsa_key()
163 tag: Tag::ALGORITHM, in test_import_key()
217 tag: Tag::ALGORITHM, in generate_aes_key()
417 tag: Tag::ALGORITHM, in test_get_key_characteristics()
Dkm_compat_type_conversion.h456 case KMV1::Tag::ALGORITHM: in convertKeyParameterToLegacy()
769 case V4_0::Tag::ALGORITHM: in convertKeyParameterFromLegacy()
Dkm_compat.cpp101 case Tag::ALGORITHM: in isKeyCreationParameter()
/system/keymaster/contexts/
Dpure_soft_remote_provisioning_context.cpp103 .add(CoseKey::ALGORITHM, EDDSA) in GenerateBcc()
/system/security/keystore2/src/
Dkey_parameter.rs789 #[key_param(tag = ALGORITHM, field = Algorithm)]
1044 Tag::ALGORITHM => return KmKeyParameterValue::Algorithm(Default::default()), in get_field_by_tag_type()
1123 assert_eq!(key_parameter.get_tag(), Tag::ALGORITHM); in test_key_parameter()
1158 Tag::ALGORITHM.0, in test_new_from_sql_enum_i32()
1163 assert_eq!(Tag::ALGORITHM, key_param.get_tag()); in test_new_from_sql_enum_i32()
1336 insert_into_keyparameter(&db, 1, Tag::ALGORITHM.0, &Null, 1)?; in test_invalid_conversion_from_sql()
Dremote_provisioning.rs155 tag: Tag::ALGORITHM, in is_asymmetric_key()
158 tag: Tag::ALGORITHM, in is_asymmetric_key()
Dsecurity_level.rs443 match params.iter().find(|kp| kp.tag == Tag::ALGORITHM) { in add_certificate_parameters()
614 .find(|p| p.tag == Tag::ALGORITHM) in import_key()
Denforcements.rs440 if kp.get_tag() == Tag::ALGORITHM in authorize_create()
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp234 if (element.keyParameter.tag == KMV1::Tag::ALGORITHM) { in keyStore2Sign()
252 .tag = KMV1::Tag::ALGORITHM, in keyStore2Sign()
/system/keymaster/ng/
DKeyMintUtils.cpp34 return KeyParameter{Tag::ALGORITHM, KeyParameterValue::make<KeyParameterValue::algorithm>( in kmEnumParam2Aidl()
/system/security/keystore/
Dkeystore_cli_v2.cpp150 return a.keyParameter.tag == keymint::Tag::ALGORITHM && in verifyEncryptionKeyAttributes()
191 return a.keyParameter.tag == keymint::Tag::ALGORITHM && in verifyAuthenticationKeyAttributes()
578 (a.keyParameter.tag == keymint::Tag::ALGORITHM || in TestKey()
/system/security/keystore-engine/
Dkeystore2_engine.cpp205 .tag = KMV1::Tag::ALGORITHM, in keystore2_sign()
/system/keymaster/include/keymaster/km_openssl/
Dattestation_record.h238 ALGORITHM = convert_to_eat_claim(KM_TAG_ALGORITHM), enumerator
/system/keymaster/ng/include/
Dkeymaster_tags.h167 DECLARE_TYPED_TAG(ALGORITHM);
/system/keymaster/km_openssl/
Dattestation_record.cpp344 submod->add(EatClaim::ALGORITHM, get_uint32_value(entry)); in build_eat_submod()
1608 case EatClaim::ALGORITHM: in parse_submod_values()