Home
last modified time | relevance | path

Searched refs:attest_key (Results 1 – 25 of 25) sorted by relevance

/system/keymaster/km_openssl/
Dattestation_utils.cpp158 X509_NAME_Ptr get_issuer_subject(const AttestKeyInfo& attest_key, keymaster_error_t* error) { in get_issuer_subject() argument
160 const uint8_t* p = attest_key.issuer_subject->data; in get_issuer_subject()
161 if (!p || !attest_key.issuer_subject->data_length) { in get_issuer_subject()
166 attest_key.issuer_subject->data_length)); in get_issuer_subject()
197 X509_NAME_Ptr get_issuer_subject(const AttestKeyInfo& attest_key, in get_issuer_subject() argument
199 if (attest_key) { in get_issuer_subject()
200 return get_issuer_subject(attest_key, error); in get_issuer_subject()
269 AttestKeyInfo attest_key, in generate_attestation() argument
279 move(attest_key), context, error); in generate_attestation()
286 AttestKeyInfo attest_key, in generate_attestation() argument
[all …]
Drsa_key_factory.cpp52 UniquePtr<Key> attest_key, // in GenerateKey() argument
106 *cert_chain = context_.GenerateAttestation(key, key_description, move(attest_key), in GenerateKey()
108 } else if (attest_key.get() != nullptr) { in GenerateKey()
123 UniquePtr<Key> attest_key, // in ImportKey() argument
154 *cert_chain = context_.GenerateAttestation(key, key_description, move(attest_key), in ImportKey()
156 } else if (attest_key.get() != nullptr) { in ImportKey()
Dec_key_factory.cpp80 UniquePtr<Key> attest_key, // in GenerateKey() argument
136 *cert_chain = context_.GenerateAttestation(key, key_description, move(attest_key), in GenerateKey()
138 } else if (attest_key.get() != nullptr) { in GenerateKey()
152 UniquePtr<Key> attest_key, // in ImportKey() argument
182 *cert_chain = context_.GenerateAttestation(key, key_description, move(attest_key), in ImportKey()
184 } else if (attest_key.get() != nullptr) { in ImportKey()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_legacy_support.h67 UniquePtr<Key> attest_key, // in GenerateKey() argument
74 return software_digest_factory_.GenerateKey(key_description, move(attest_key), in GenerateKey()
78 return passthrough_factory_.GenerateKey(key_description, move(attest_key), in GenerateKey()
87 UniquePtr<Key> attest_key, // 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()
148 UniquePtr<Key> attest_key, //
Dec_keymaster1_key.h45 UniquePtr<Key> attest_key, //
55 UniquePtr<Key> attest_key, //
Drsa_keymaster1_key.h45 UniquePtr<Key> attest_key, //
55 UniquePtr<Key> attest_key, //
/system/keymaster/include/keymaster/km_openssl/
Dattestation_utils.h83 AttestKeyInfo attest_key,
124 AttestKeyInfo attest_key,
Drsa_key_factory.h33 UniquePtr<Key> attest_key,
42 UniquePtr<Key> attest_key, //
Dec_key_factory.h36 UniquePtr<Key> attest_key, //
45 UniquePtr<Key> attest_key, //
Dsymmetric_key.h36 UniquePtr<Key> attest_key,
45 UniquePtr<Key> attest_key,
/system/security/keystore2/src/
Dattestation_key_utils.rs74 Some(attest_key) => get_user_generated_attestation_key(&attest_key, caller_uid, db) in get_attest_key_info()
Dsecurity_level.rs527 let attest_key = Some(AttestationKey { in generate_key() localVariable
540 km_dev.generateKey(&params, attest_key.as_ref()) in generate_key()
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/
Dtrusty_keymaster_device.h64 keymaster_error_t attest_key(const keymaster_key_blob_t* key_to_attest,
120 static keymaster_error_t attest_key(const keymaster2_device_t* dev,
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp224 UniquePtr<Key> attest_key, // in GenerateKey() argument
231 return software_digest_factory_.GenerateKey(key_description, move(attest_key), in GenerateKey()
255 return passthrough_factory_.GenerateKey(mutable_key_description, move(attest_key), in GenerateKey()
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h107 UniquePtr<Key> attest_key,
Dkeymaster1_passthrough_context.h113 UniquePtr<Key> attest_key,
Dsoft_keymaster_context.h82 UniquePtr<Key> attest_key,
Dpure_soft_keymaster_context.h75 UniquePtr<Key> attest_key,
/system/keymaster/include/keymaster/
Dkeymaster_context.h161 UniquePtr<Key> attest_key,
Dsoft_keymaster_device.h199 static keymaster_error_t attest_key(const keymaster2_device_t* dev,
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp327 UniquePtr<Key> attest_key; in GenerateKey() local
329 attest_key = LoadKey(request.attestation_signing_key_blob, request.attest_key_params, in GenerateKey()
337 move(attest_key), // in GenerateKey()
776 UniquePtr<Key> attest_key; in ImportKey() local
779 attest_key = in ImportKey()
787 move(attest_key), // in ImportKey()
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp133 auto rc = device_->attest_key(device_, &key.key_material(), &attest_params, &cchain); in GenerateAttestation()
Dpure_soft_keymaster_context.cpp337 UniquePtr<Key> attest_key, in GenerateAttestation() argument
362 AttestKeyInfo attest_key_info(attest_key, &issuer_subject, error); in GenerateAttestation()
Dsoft_keymaster_device.cpp287 km2_device_.attest_key = attest_key; in initialize_device_struct()
984 keymaster_error_t SoftKeymasterDevice::attest_key(const keymaster2_device_t* dev, in attest_key() function in keymaster::SoftKeymasterDevice
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp346 return device()->attest_key(device(), &blob_, &attest_params, cert_chain); in AttestKey()