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()
Dec_key_factory.cpp202 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
210 return ImportRawKey(key_description, input_key_material, move(attest_key), issuer_subject, in ImportKey()
219 key_description, input_key_material_format, input_key_material, &authorizations, &key_size); in ImportKey()
222 error = blob_maker_.CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
230 error = KeyMaterialToEvpKey(KM_KEY_FORMAT_PKCS8, input_key_material, KM_ALGORITHM_EC, &pkey); in ImportKey()
284 const KeymasterKeyBlob& input_key_material, in ImportRawKey() argument
323 input_key_material.key_material, in ImportRawKey()
324 input_key_material.key_material_size)); in ImportRawKey()
327 input_key_material.key_material, in ImportRawKey()
328 input_key_material.key_material_size)); in ImportRawKey()
Drsa_key_factory.cpp121 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
134 UpdateImportKeyDescription(key_description, input_key_material_format, input_key_material, in ImportKey()
137 error = blob_maker_.CreateKeyBlob(authorizations, KM_ORIGIN_IMPORTED, input_key_material, in ImportKey()
145 error = KeyMaterialToEvpKey(KM_KEY_FORMAT_PKCS8, input_key_material, KM_ALGORITHM_RSA, &pkey); in ImportKey()
/system/keymaster/legacy_support/
Dkeymaster_passthrough_engine.cpp92 const KeymasterKeyBlob& input_key_material,
249 const KeymasterKeyBlob& input_key_material, KeymasterKeyBlob* output_key_blob, in ImportKey() argument
254 const keymaster_blob_t input_key = {input_key_material.key_material, in ImportKey()
255 input_key_material.key_material_size}; in ImportKey()
274 const KeymasterKeyBlob& input_key_material, KeymasterKeyBlob* output_key_blob, in ImportKey() argument
279 const keymaster_blob_t input_key = {input_key_material.key_material, in ImportKey()
280 input_key_material.key_material_size}; 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()
Drsa_keymaster1_key.cpp99 const KeymasterKeyBlob& input_key_material, in ImportKey() argument
108 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/km_openssl/
Dec_key_factory.h43 const KeymasterKeyBlob& input_key_material,
52 const KeymasterKeyBlob& input_key_material,
Drsa_key_factory.h41 const KeymasterKeyBlob& input_key_material,
Dsymmetric_key.h44 const KeymasterKeyBlob& input_key_material,
/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,