/system/keymaster/km_openssl/ |
D | wrapped_key.cpp | 42 keymaster_key_format_t key_format, in build_wrapped_key() argument 55 !ASN1_INTEGER_set(wrapped_key->wrapped_key_description->key_format, key_format)) { in build_wrapped_key() 85 keymaster_key_format_t* key_format, in parse_wrapped_key() argument 87 if (!iv || !transit_key || !secure_key || !tag || !auth_list || !key_format || in parse_wrapped_key() 130 *key_format = static_cast<keymaster_key_format_t>( in parse_wrapped_key() 131 ASN1_INTEGER_get(record->wrapped_key_description->key_format)); in parse_wrapped_key()
|
D | openssl_utils.cpp | 101 keymaster_error_t KeyMaterialToEvpKey(keymaster_key_format_t key_format, in KeyMaterialToEvpKey() argument 105 if (key_format != KM_KEY_FORMAT_PKCS8) in KeyMaterialToEvpKey()
|
D | rsa_key_factory.cpp | 125 keymaster_key_format_t key_format, in UpdateImportKeyDescription() argument 135 KeyMaterialToEvpKey(key_format, key_material, keymaster_key_type(), &pkey); in UpdateImportKeyDescription()
|
D | ec_key_factory.cpp | 148 keymaster_key_format_t key_format, in UpdateImportKeyDescription() argument 157 KeyMaterialToEvpKey(key_format, key_material, keymaster_key_type(), &pkey); in UpdateImportKeyDescription()
|
/system/keymaster/include/keymaster/ |
D | wrapped_key.h | 28 ASN1_INTEGER* key_format; member 33 ASN1_SIMPLE(KM_WRAPPED_KEY_DESCRIPTION, key_format, ASN1_INTEGER), 58 const KeymasterBlob& iv, keymaster_key_format_t key_format, 66 keymaster_key_format_t* key_format,
|
D | soft_keymaster_device.h | 148 keymaster_key_format_t key_format, 197 keymaster_key_format_t key_format,
|
D | android_keymaster_messages.h | 469 keymaster_key_format_t key_format; member 512 keymaster_key_format_t key_format; member
|
/system/keymaster/tests/ |
D | wrapped_key_test.cpp | 89 keymaster_key_format_t key_format; in TEST() local 91 &key_format, &wrapped_key_description), in TEST() 102 EXPECT_EQ(key_format, (uint32_t)KM_KEY_FORMAT_RAW); in TEST() 117 keymaster_key_format_t key_format; in TEST() local 119 &key_format, &wrapped_key_description), in TEST()
|
D | android_keymaster_messages_test.cpp | 388 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()
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 57 keymaster_key_format_t key_format, 110 keymaster_key_format_t key_format,
|
/system/keymaster/include/keymaster/km_openssl/ |
D | ec_key_factory.h | 51 keymaster_key_format_t key_format,
|
D | openssl_utils.h | 90 keymaster_error_t KeyMaterialToEvpKey(keymaster_key_format_t key_format,
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 383 response->error = key->formatted_key_material(request.key_format, &out_key, &size); in ExportKey() 443 response->error = factory->ImportKey(request.key_description, request.key_format, in ImportKey() 491 keymaster_key_format_t key_format; in ImportWrappedKey() local 495 request.masking_key, &key_description, &key_format, &secret_key); in ImportWrappedKey() 524 factory->ImportKey(key_description, key_format, KeymasterKeyBlob(secret_key), &key_blob, in ImportWrappedKey()
|
D | android_keymaster_messages.cpp | 338 buf = append_uint32_to_buf(buf, end, key_format); in Serialize() 347 !copy_uint32_from_buf(buf_ptr, end, &key_format) || in Deserialize() 384 buf = append_uint32_to_buf(buf, end, key_format); in Serialize() 390 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_device.cpp | 247 const keymaster_key_param_set_t* params, keymaster_key_format_t key_format, in import_key() argument 266 request.key_format = key_format; in import_key() 311 request.key_format = export_format; in export_key() 682 keymaster_key_format_t key_format, const keymaster_blob_t* key_data, in import_key() argument 684 return convert_device(dev)->import_key(params, key_format, key_data, key_blob, characteristics); in import_key()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster0_engine.h | 52 bool ImportKey(keymaster_key_format_t key_format, const KeymasterKeyBlob& to_import,
|
/system/security/keystore/include/keystore/ |
D | keystore_client_mock.h | 56 keymaster_key_format_t key_format, const std::string& key_data,
|
D | keystore_client.h | 116 KeyFormat key_format, const std::string& key_data,
|
D | keystore_client_impl.h | 59 KeyFormat key_format, const std::string& key_data,
|
/system/keymaster/legacy_support/ |
D | keymaster0_engine.cpp | 113 bool Keymaster0Engine::ImportKey(keymaster_key_format_t key_format, in ImportKey() argument 117 if (key_format != KM_KEY_FORMAT_PKCS8) in ImportKey()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 937 keymaster_key_format_t key_format, const keymaster_blob_t* key_data, in import_key() argument 952 return km1_dev->import_key(km1_dev, params, key_format, key_data, key_blob, in import_key() 958 request.key_format = key_format; in import_key() 984 keymaster_key_format_t key_format, const keymaster_blob_t* key_data, in import_key() argument 997 error = import_key(&sk_dev->km1_device_, params, key_format, key_data, key_blob, in import_key() 1004 error = import_key(&sk_dev->km1_device_, params, key_format, key_data, key_blob, nullptr); in import_key() 1032 request.key_format = export_format; in export_key()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 278 request.key_format = legacy_enum_conversion(keyFormat); in importKey() 301 request.key_format = legacy_enum_conversion(exportFormat); in exportKey()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 320 request.key_format = legacy_enum_conversion(keyFormat); in importKey() 343 request.key_format = legacy_enum_conversion(exportFormat); in exportKey()
|
D | AndroidKeymaster4Device.cpp | 352 request.key_format = legacy_enum_conversion(keyFormat); in importKey() 402 request.key_format = legacy_enum_conversion(exportFormat); in exportKey()
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 259 KeyFormat key_format, const std::string& key_data, in importKey() argument 270 (int)key_format, hidlKeyData, kDefaultUID, KEYSTORE_FLAG_NONE, &error_code); in importKey()
|