Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dec_key_factory.cpp83 keymaster_ec_curve_t ec_curve; in GenerateKey() local
85 keymaster_error_t error = GetCurveAndSize(authorizations, &ec_curve, &key_size); in GenerateKey()
90 } else if (!authorizations.Contains(TAG_EC_CURVE, ec_curve)) { in GenerateKey()
91 authorizations.push_back(TAG_EC_CURVE, ec_curve); in GenerateKey()
99 UniquePtr<EC_GROUP, EC_GROUP_Delete> group(ChooseGroup(ec_curve)); in GenerateKey()
101 LOG_E("Unable to get EC group for curve %d", ec_curve); in GenerateKey()
222 EC_GROUP* EcKeyFactory::ChooseGroup(keymaster_ec_curve_t ec_curve) { in ChooseGroup() argument
223 switch (ec_curve) { in ChooseGroup()
Dattestation_record.cpp154 integer_ptr = &record->ec_curve; in build_auth_list()
356 keymaster_ec_curve_t ec_curve; in build_auth_list() local
363 keymaster_error_t error = EcKeySizeToCurve(key_size, &ec_curve); in build_auth_list()
371 if (!ASN1_INTEGER_set(value.get(), ec_curve)) in build_auth_list()
374 insert_integer(value.release(), &record->ec_curve, nullptr); in build_auth_list()
598 if (!get_enum(record->ec_curve, TAG_EC_CURVE, auth_list)) in extract_auth_list()
/system/keymaster/legacy_support/
Dec_keymaster0_key.cpp46 keymaster_ec_curve_t ec_curve; in GenerateKey() local
48 keymaster_error_t error = GetCurveAndSize(key_description, &ec_curve, &key_size); in GenerateKey()
61 hw_enforced->push_back(TAG_EC_CURVE, ec_curve); in GenerateKey()
Dec_keymaster1_key.cpp71 keymaster_ec_curve_t ec_curve; in GenerateKey() local
73 keymaster_error_t error = GetCurveAndSize(key_description, &ec_curve, &key_size); in GenerateKey()
/system/keymaster/include/keymaster/km_openssl/
Dec_key_factory.h60 static EC_GROUP* ChooseGroup(keymaster_ec_curve_t ec_curve);
/system/keymaster/include/keymaster/
Dattestation_record.h69 ASN1_INTEGER* ec_curve; member
113 ASN1_EXP_OPT(KM_AUTH_LIST, ec_curve, ASN1_INTEGER, TAG_EC_CURVE.masked_tag()),
/system/security/keystore/
Dkey_config.proto58 optional string ec_curve = 11; field
Doperation_config.proto60 optional string ec_curve = 11; field