Searched refs:ec_curve (Results 1 – 8 of 8) sorted by relevance
/system/keymaster/km_openssl/ |
D | ec_key_factory.cpp | 83 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()
|
D | attestation_record.cpp | 154 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/ |
D | ec_keymaster0_key.cpp | 46 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()
|
D | ec_keymaster1_key.cpp | 71 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/ |
D | ec_key_factory.h | 60 static EC_GROUP* ChooseGroup(keymaster_ec_curve_t ec_curve);
|
/system/keymaster/include/keymaster/ |
D | attestation_record.h | 69 ASN1_INTEGER* ec_curve; member 113 ASN1_EXP_OPT(KM_AUTH_LIST, ec_curve, ASN1_INTEGER, TAG_EC_CURVE.masked_tag()),
|
/system/security/keystore/ |
D | key_config.proto | 58 optional string ec_curve = 11; field
|
D | operation_config.proto | 60 optional string ec_curve = 11; field
|