Home
last modified time | relevance | path

Searched refs:key_format (Results 1 – 18 of 18) sorted by relevance

/system/keymaster/
Dopenssl_utils.cpp106 keymaster_error_t KeyMaterialToEvpKey(keymaster_key_format_t key_format, in KeyMaterialToEvpKey() argument
110 if (key_format != KM_KEY_FORMAT_PKCS8) in KeyMaterialToEvpKey()
Drsa_key_factory.cpp121 keymaster_key_format_t key_format, in UpdateImportKeyDescription() argument
131 KeyMaterialToEvpKey(key_format, key_material, keymaster_key_type(), &pkey); in UpdateImportKeyDescription()
Dec_key_factory.cpp148 keymaster_key_format_t key_format, in UpdateImportKeyDescription() argument
157 KeyMaterialToEvpKey(key_format, key_material, keymaster_key_type(), &pkey); in UpdateImportKeyDescription()
Dandroid_keymaster_messages_test.cpp388 msg.key_format = KM_KEY_FORMAT_X509; in TEST()
393 EXPECT_EQ(msg.key_format, deserialized->key_format); in TEST()
421 msg.key_format = KM_KEY_FORMAT_X509; in TEST()
426 EXPECT_EQ(msg.key_format, deserialized->key_format); in TEST()
Dopenssl_utils.h89 keymaster_error_t KeyMaterialToEvpKey(keymaster_key_format_t key_format,
Dkeymaster0_engine.h51 bool ImportKey(keymaster_key_format_t key_format, const KeymasterKeyBlob& to_import,
Dandroid_keymaster_messages.cpp320 buf = append_uint32_to_buf(buf, end, key_format); in Serialize()
329 !copy_uint32_from_buf(buf_ptr, end, &key_format) || in Deserialize()
366 buf = append_uint32_to_buf(buf, end, key_format); in Serialize()
372 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
Dsoft_keymaster_device.cpp915 keymaster_key_format_t key_format, const keymaster_blob_t* key_data, in import_key() argument
930 return km1_dev->import_key(km1_dev, params, key_format, key_data, key_blob, in import_key()
936 request.key_format = key_format; in import_key()
962 keymaster_key_format_t key_format, const keymaster_blob_t* key_data, in import_key() argument
975 error = import_key(&sk_dev->km1_device_, params, key_format, key_data, key_blob, in import_key()
982 error = import_key(&sk_dev->km1_device_, params, key_format, key_data, key_blob, nullptr); in import_key()
1010 request.key_format = export_format; in export_key()
Dkeymaster0_engine.cpp131 bool Keymaster0Engine::ImportKey(keymaster_key_format_t key_format, in ImportKey() argument
135 if (key_format != KM_KEY_FORMAT_PKCS8) in ImportKey()
Dandroid_keymaster.cpp385 response->error = key->formatted_key_material(request.key_format, &out_key, &size); in ExportKey()
434 response->error = factory->ImportKey(request.key_description, request.key_format, in ImportKey()
Dandroid_keymaster_test_utils.cpp832 keymaster_key_format_t key_format, const keymaster_blob_t* key_data, in import_key() argument
840 return unwrap(dev)->import_key(unwrap(dev), params, key_format, key_data, key_blob, in import_key()
/system/keymaster/include/keymaster/
Dec_key_factory.h48 keymaster_key_format_t key_format,
Dsoft_keymaster_device.h148 keymaster_key_format_t key_format,
197 keymaster_key_format_t key_format,
Dandroid_keymaster_messages.h460 keymaster_key_format_t key_format; member
503 keymaster_key_format_t key_format; member
/system/security/keystore/include/keystore/
Dkeystore_client_mock.h56 keymaster_key_format_t key_format, const std::string& key_data,
Dkeystore_client.h112 keymaster_key_format_t key_format, const std::string& key_data,
Dkeystore_client_impl.h57 keymaster_key_format_t key_format, const std::string& key_data,
/system/security/keystore/
Dkeystore_client_impl.cpp233 keymaster_key_format_t key_format, in importKey() argument
242 keystore_->importKey(key_name16, key_arguments, key_format, StringAsByteArray(key_data), in importKey()