Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dec_key_factory.cpp90 keymaster_ec_curve_t ec_curve; in GenerateKey() local
92 keymaster_error_t error = GetCurveAndSize(authorizations, &ec_curve, &key_size); in GenerateKey()
97 } else if (!authorizations.Contains(TAG_EC_CURVE, ec_curve)) { in GenerateKey()
98 authorizations.push_back(TAG_EC_CURVE, ec_curve); in GenerateKey()
105 UniquePtr<EC_GROUP, EC_GROUP_Delete> group(ChooseGroup(ec_curve)); in GenerateKey()
107 LOG_E("Unable to get EC group for curve %d", ec_curve); in GenerateKey()
265 EC_GROUP* EcKeyFactory::ChooseGroup(keymaster_ec_curve_t ec_curve) { in ChooseGroup() argument
266 switch (ec_curve) { in ChooseGroup()
Dattestation_record.cpp494 int ec_curve; in build_eat_submod() local
500 keymaster_error_t error = ec_key_size_to_eat_curve(key_size, &ec_curve); in build_eat_submod()
503 submod->add(EatClaim::EC_CURVE, ec_curve); in build_eat_submod()
574 integer_ptr = &record->ec_curve; in build_auth_list()
792 keymaster_ec_curve_t ec_curve; in build_auth_list() local
799 keymaster_error_t error = EcKeySizeToCurve(key_size, &ec_curve); in build_auth_list()
807 if (!ASN1_INTEGER_set(value.get(), ec_curve)) { in build_auth_list()
811 insert_integer(value.release(), &record->ec_curve, nullptr); in build_auth_list()
1175 if (!get_enum(record->ec_curve, TAG_EC_CURVE, auth_list)) { in extract_auth_list()
/system/security/keystore2/aidl/android/security/metrics/
DKeyCreationWithGeneralInfo.aidl31 EcCurve ec_curve;
/system/keymaster/legacy_support/
Dec_keymaster1_key.cpp75 keymaster_ec_curve_t ec_curve; in GenerateKey() local
77 keymaster_error_t error = GetCurveAndSize(key_description, &ec_curve, &key_size); in GenerateKey()
/system/keymaster/include/keymaster/km_openssl/
Dec_key_factory.h65 static EC_GROUP* ChooseGroup(keymaster_ec_curve_t ec_curve);
Dattestation_record.h84 ASN1_INTEGER* ec_curve; member
133 ASN1_EXP_OPT(KM_AUTH_LIST, ec_curve, ASN1_INTEGER, TAG_EC_CURVE.masked_tag()),
/system/security/keystore2/src/
Dmetrics_store.rs190 ec_curve: MetricsEcCurve::EC_CURVE_UNSPECIFIED, in process_key_creation_event_stats()
285 key_creation_with_general_info.ec_curve = match e { in process_key_creation_event_stats()