/system/keymaster/android_keymaster/ |
D | android_keymaster_utils.cpp | 45 keymaster_error_t EcKeySizeToCurve(uint32_t key_size_bits, keymaster_ec_curve_t* curve) { in EcKeySizeToCurve() argument 51 *curve = KM_EC_CURVE_P_224; in EcKeySizeToCurve() 55 *curve = KM_EC_CURVE_P_256; in EcKeySizeToCurve() 59 *curve = KM_EC_CURVE_P_384; in EcKeySizeToCurve() 63 *curve = KM_EC_CURVE_P_521; in EcKeySizeToCurve() 70 keymaster_error_t EcCurveToKeySize(keymaster_ec_curve_t curve, uint32_t* key_size_bits) { in EcCurveToKeySize() argument 71 switch (curve) { in EcCurveToKeySize()
|
/system/keymaster/tests/ |
D | nist_curve_key_exchange_test.cpp | 42 for (auto& curve : kEcCurves) { in TEST() local 44 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST() 46 NistCurveKeyExchange* alice_keyex = NistCurveKeyExchange::GenerateKeyExchange(curve); in TEST() 47 NistCurveKeyExchange* bob_keyex = NistCurveKeyExchange::GenerateKeyExchange(curve); in TEST() 80 for (auto& curve : kEcCurves) { in TEST() local 82 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST() 83 KeyExchange* key_exchange = NistCurveKeyExchange::GenerateKeyExchange(curve); in TEST() 98 for (auto& curve : kEcCurves) { in TEST() local 100 EC_GROUP* group = ec_get_group(curve); in TEST() 114 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST() [all …]
|
D | ecies_kem_test.cpp | 44 for (auto& curve : kEcCurves) { in TEST() local 46 .Authorization(TAG_EC_CURVE, curve) in TEST() 54 NistCurveKeyExchange* key_exchange = NistCurveKeyExchange::GenerateKeyExchange(curve); in TEST()
|
/system/keymaster/km_openssl/ |
D | ec_key_factory.cpp | 45 keymaster_ec_curve_t* curve, in GetCurveAndSize() argument 47 if (!key_description.GetTagValue(TAG_EC_CURVE, curve)) { in GetCurveAndSize() 53 keymaster_error_t error = EcKeySizeToCurve(*key_size_bits, curve); in GetCurveAndSize() 58 keymaster_error_t error = EcCurveToKeySize(*curve, key_size_bits); in GetCurveAndSize() 183 keymaster_ec_curve_t curve; in UpdateImportKeyDescription() local 184 if (!updated_description->GetTagValue(TAG_EC_CURVE, &curve)) { in UpdateImportKeyDescription() 186 } else if (curve_from_size != curve) { in UpdateImportKeyDescription()
|
D | nist_curve_key_exchange.cpp | 38 NistCurveKeyExchange* NistCurveKeyExchange::GenerateKeyExchange(keymaster_ec_curve_t curve) { in GenerateKeyExchange() argument 40 switch (curve) { in GenerateKeyExchange() 54 LOG_E("Not a NIST curve: %d", curve); in GenerateKeyExchange()
|
D | openssl_utils.cpp | 46 EC_GROUP* ec_get_group(keymaster_ec_curve_t curve) { in ec_get_group() argument 47 switch (curve) { in ec_get_group()
|
/system/media/audio_utils/include/audio_utils/ |
D | Balance.h | 49 std::function<float(float)> curve = [](float x) { return x * (x + 0.2f); }) 51 , mCurve(normalize(std::move(curve))) { } in mRamp()
|
/system/bt/stack/smp/ |
D | p_256_ecc_pp.h | 56 extern elliptic_curve_t curve;
|
D | p_256_ecc_pp.cc | 31 elliptic_curve_t curve; variable
|
/system/keymaster/include/keymaster/km_openssl/ |
D | nist_curve_key_exchange.h | 48 static NistCurveKeyExchange* GenerateKeyExchange(keymaster_ec_curve_t curve);
|
D | ec_key_factory.h | 63 keymaster_ec_curve_t* curve, uint32_t* key_size_bits);
|
D | openssl_utils.h | 75 EC_GROUP* ec_get_group(keymaster_ec_curve_t curve);
|
/system/keymaster/legacy_support/ |
D | keymaster1_legacy_support.cpp | 236 keymaster_ec_curve_t curve; in GenerateKey() local 237 if (key_description.GetTagValue(TAG_EC_CURVE, &curve)) { in GenerateKey() 240 keymaster_error_t error = EcCurveToKeySize(curve, &key_size_from_curve); in GenerateKey()
|
/system/security/keystore/ |
D | key_config.proto | 57 // Which ec curve was selected if elliptic curve cryptography is in use
|
D | operation_config.proto | 59 // Which ec curve was selected if elliptic curve cryptography is in use
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 428 keymaster_error_t EcKeySizeToCurve(uint32_t key_size_bits, keymaster_ec_curve_t* curve); 429 keymaster_error_t EcCurveToKeySize(keymaster_ec_curve_t curve, uint32_t* key_size_bits);
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 805 keymaster_ec_curve_t curve; in generate_key() local 807 request.key_description.GetTagValue(TAG_EC_CURVE, &curve)) { in generate_key() 810 keymaster_error_t error = EcCurveToKeySize(curve, &key_size_from_curve); in generate_key()
|