Home
last modified time | relevance | path

Searched refs:input_key_material (Results 1 – 17 of 17) sorted by relevance

/system/keymaster/km_openssl/
Dsymmetric_key.cpp66 const KeymasterKeyBlob& input_key_material, // in ImportKey() argument
80 key_bits = key_size_bits(input_key_material.key_material_size); in ImportKey()
89 if (key_bits != key_size_bits(input_key_material.key_material_size)) { in ImportKey()
91 key_size_bits(input_key_material.key_material_size)); in ImportKey()
95 return blob_maker_.CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
Drsa_key_factory.cpp122 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
135 UpdateImportKeyDescription(key_description, input_key_material_format, input_key_material, in ImportKey()
138 error = blob_maker_.CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
146 error = KeyMaterialToEvpKey(KM_KEY_FORMAT_PKCS8, input_key_material, KM_ALGORITHM_RSA, &pkey); in ImportKey()
Dec_key_factory.cpp151 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
163 key_description, input_key_material_format, input_key_material, &authorizations, &key_size); in ImportKey()
166 error = blob_maker_.CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
174 error = KeyMaterialToEvpKey(KM_KEY_FORMAT_PKCS8, input_key_material, KM_ALGORITHM_EC, &pkey); in ImportKey()
/system/keymaster/legacy_support/
Dkeymaster_passthrough_engine.cpp90 const KeymasterKeyBlob& input_key_material,
247 const KeymasterKeyBlob& input_key_material, KeymasterKeyBlob* output_key_blob, in ImportKey() argument
252 const keymaster_blob_t input_key = {input_key_material.key_material, in ImportKey()
253 input_key_material.key_material_size}; in ImportKey()
272 const KeymasterKeyBlob& input_key_material, KeymasterKeyBlob* output_key_blob, in ImportKey() argument
277 const keymaster_blob_t input_key = {input_key_material.key_material, in ImportKey()
278 input_key_material.key_material_size}; in ImportKey()
Drsa_keymaster1_key.cpp98 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
107 return engine_->ImportKey(key_params_copy, input_key_material_format, input_key_material, in ImportKey()
Dec_keymaster1_key.cpp89 const KeymasterKeyBlob& input_key_material, // in ImportKey() argument
98 return engine_->ImportKey(key_params_copy, input_key_material_format, input_key_material, in ImportKey()
Dkeymaster1_engine.cpp96 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
103 const keymaster_blob_t input_key = {input_key_material.key_material, in ImportKey()
104 input_key_material.key_material_size}; in ImportKey()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_legacy_support.h86 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
94 key_description, input_key_material_format, input_key_material, move(attest_key), in ImportKey()
98 key_description, input_key_material_format, input_key_material, move(attest_key), in ImportKey()
Dkeymaster_passthrough_key.h54 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
60 return engine_->ImportKey(key_description, input_key_material_format, input_key_material, in ImportKey()
Dkeymaster_passthrough_engine.h49 const KeymasterKeyBlob& input_key_material,
Dec_keymaster1_key.h54 const KeymasterKeyBlob& input_key_material,
Drsa_keymaster1_key.h54 const KeymasterKeyBlob& input_key_material,
Dkeymaster1_engine.h50 const KeymasterKeyBlob& input_key_material,
/system/keymaster/include/keymaster/
Dkey_factory.h49 const KeymasterKeyBlob& input_key_material,
/system/keymaster/include/keymaster/km_openssl/
Drsa_key_factory.h41 const KeymasterKeyBlob& input_key_material,
Dec_key_factory.h44 const KeymasterKeyBlob& input_key_material,
Dsymmetric_key.h44 const KeymasterKeyBlob& input_key_material,