/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 | 475 keymaster_key_format_t key_format; member 518 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 | 91 keymaster_error_t KeyMaterialToEvpKey(keymaster_key_format_t key_format,
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 387 response->error = key->formatted_key_material(request.key_format, &out_key, &size); in ExportKey() 447 response->error = factory->ImportKey(request.key_description, request.key_format, in ImportKey() 495 keymaster_key_format_t key_format; in ImportWrappedKey() local 499 request.masking_key, &key_description, &key_format, &secret_key); in ImportWrappedKey() 528 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/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 | 118 KeyFormat key_format, const std::string& key_data,
|
D | keystore_client_impl.h | 60 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 | 365 request.key_format = legacy_enum_conversion(keyFormat); in importKey() 415 request.key_format = legacy_enum_conversion(exportFormat); in exportKey()
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 253 KeyFormat key_format, const std::string& key_data, in importKey() argument 264 (int)key_format, hidlKeyData, kDefaultUID, KEYSTORE_FLAG_NONE, &error_code); in importKey()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 393 request.key_format = legacy_enum_conversion(keyFormat); in importKey() 442 request.key_format = legacy_enum_conversion(exportFormat); in exportKey()
|