/system/keymaster/include/keymaster/km_openssl/ |
D | kem.h | 47 virtual bool Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) = 0; 48 virtual bool Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key,
|
D | nist_curve_key_exchange.h | 42 NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error); 59 EC_KEY* private_key() { return private_key_.release(); } in private_key() function
|
D | ecies_kem.h | 47 bool Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) override; 48 bool Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key, size_t encrypted_key_len,
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 21 private_key: "com.android.apex.test_package.pem", 46 private_key: "com.android.apex.test_package.preinstall.pem", 63 private_key: "com.android.apex.test_package.postinstall.pem", 80 private_key: "com.android.apex.test_package.prepostinstall.fail.pem", 97 private_key: "com.android.apex.test_package.no_inst_key.pem", 113 private_key: "com.android.apex.test_package_2.pem",
|
/system/keymaster/km_openssl/ |
D | ecies_kem.cpp | 129 bool EciesKem::Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) { in Decrypt() argument 130 return Decrypt(private_key, encrypted_key.peek_read(), encrypted_key.available_read(), in Decrypt() 135 bool EciesKem::Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key, size_t encrypted_key_len, in Decrypt() argument 139 key_exchange_.reset(new(std::nothrow) NistCurveKeyExchange(private_key, &error)); in Decrypt()
|
D | nist_curve_key_exchange.cpp | 28 NistCurveKeyExchange::NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error) in NistCurveKeyExchange() argument 29 : private_key_(private_key) { in NistCurveKeyExchange()
|
/system/keymaster/tests/ |
D | nist_curve_key_exchange_test.cpp | 126 key_exchange->private_key(), nullptr /* kdf */)); in TEST() 186 string private_key = hex2str(test.my_private_key); in TEST() local 189 const uint8_t* private_key_data = reinterpret_cast<const uint8_t*>(private_key.data()); in TEST() 191 d2i_ECPrivateKey(nullptr, &private_key_data, private_key.size())); in TEST()
|
D | ecies_kem_test.cpp | 66 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key)); in TEST()
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 618 memcpy((void*)p_cb->private_key, rand, BT_OCTET8_LEN); in smp_create_private_key() 621 memcpy((void*)&p_cb->private_key[8], rand, BT_OCTET8_LEN); in smp_create_private_key() 624 memcpy((void*)&p_cb->private_key[16], rand, BT_OCTET8_LEN); in smp_create_private_key() 627 memcpy((void*)&p_cb->private_key[24], rand, in smp_create_private_key() 664 memcpy(p_cb->private_key, p_cb->sc_oob_data.loc_oob_data.private_key_used, in smp_use_oob_private_key() 689 BT_OCTET32 private_key; in smp_process_private_key() local 693 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key() 694 ECC_PointMult(&public_key, &(curve_p256.G), (uint32_t*)private_key, in smp_process_private_key() 699 smp_debug_print_nbyte_little_endian(p_cb->private_key, "private", in smp_process_private_key() 723 BT_OCTET32 private_key; in smp_compute_dhkey() local [all …]
|
D | smp_int.h | 277 BT_OCTET32 private_key; member
|
D | smp_act.cc | 1858 memcpy(p_cb->sc_oob_data.loc_oob_data.private_key_used, p_cb->private_key, in smp_set_local_oob_keys()
|
/system/extras/verity/ |
D | generate_verity_key.c | 34 static int write_public_keyfile(RSA *private_key, const char *private_key_path) in write_public_keyfile() argument 44 if (!android_pubkey_encode(private_key, key_data, sizeof(key_data))) in write_public_keyfile()
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_main.cpp | 185 keymaster_blob_t private_key = {rsa_privkey_pk8_der, rsa_privkey_pk8_der_len}; in test_import_rsa() local 187 device->import_key(&rsa_param_set, KM_KEY_FORMAT_PKCS8, &private_key, &key, nullptr); in test_import_rsa() 290 keymaster_blob_t private_key = {ec_privkey_pk8_der, ec_privkey_pk8_der_len}; in test_import_ecdsa() local 291 int error = device->import_key(&ec_param_set, KM_KEY_FORMAT_PKCS8, &private_key, &key, nullptr); in test_import_ecdsa()
|
/system/netd/apex/ |
D | Android.bp | 34 private_key: "com.android.resolv.pem",
|
/system/timezone/apex/ |
D | Android.bp | 39 private_key: "com.android.tzdata.pem",
|
/system/apex/apexer/ |
D | Android.bp | 55 private_key: "etc/com.android.support.apexer.pem",
|
/system/apex/shim/build/ |
D | Android.bp | 33 private_key: ":com.android.apex.cts.shim.pem", 190 private_key: ":com.android.apex.cts.shim_not_pre_installed.pem",
|
/system/core/adb/client/ |
D | auth.cpp | 56 static bool calculate_public_key(std::string* out, RSA* private_key) { in calculate_public_key() argument 58 if (!android_pubkey_encode(private_key, binary_key_data, sizeof(binary_key_data))) { in calculate_public_key()
|
/system/apex/tests/ |
D | Android.bp | 144 private_key: "testdata/com.android.apex.test.pem",
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 231 string private_key = in GeneratePayload() local 235 private_key, in GeneratePayload()
|
D | delta_performer_integration_test.cc | 481 const string private_key = in GenerateDeltaFile() local 518 payload_config, state->delta_path, private_key, &state->metadata_size)); in GenerateDeltaFile()
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 328 DEFINE_string(private_key, "", "Path to private key in .pem format"); in Main()
|