/system/keymaster/km_openssl/ |
D | attestation_utils.cpp | 158 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 …]
|
D | rsa_key_factory.cpp | 52 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()
|
D | ec_key_factory.cpp | 80 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/ |
D | keymaster1_legacy_support.h | 67 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, //
|
D | ec_keymaster1_key.h | 45 UniquePtr<Key> attest_key, // 55 UniquePtr<Key> attest_key, //
|
D | rsa_keymaster1_key.h | 45 UniquePtr<Key> attest_key, // 55 UniquePtr<Key> attest_key, //
|
/system/keymaster/include/keymaster/km_openssl/ |
D | attestation_utils.h | 83 AttestKeyInfo attest_key, 124 AttestKeyInfo attest_key,
|
D | rsa_key_factory.h | 33 UniquePtr<Key> attest_key, 42 UniquePtr<Key> attest_key, //
|
D | ec_key_factory.h | 36 UniquePtr<Key> attest_key, // 45 UniquePtr<Key> attest_key, //
|
D | symmetric_key.h | 36 UniquePtr<Key> attest_key, 45 UniquePtr<Key> attest_key,
|
/system/security/keystore2/src/ |
D | attestation_key_utils.rs | 74 Some(attest_key) => get_user_generated_attestation_key(&attest_key, caller_uid, db) in get_attest_key_info()
|
D | security_level.rs | 527 let attest_key = Some(AttestationKey { in generate_key() localVariable 540 km_dev.generateKey(¶ms, attest_key.as_ref()) in generate_key()
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 64 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/ |
D | keymaster1_legacy_support.cpp | 224 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/ |
D | keymaster2_passthrough_context.h | 107 UniquePtr<Key> attest_key,
|
D | keymaster1_passthrough_context.h | 113 UniquePtr<Key> attest_key,
|
D | soft_keymaster_context.h | 82 UniquePtr<Key> attest_key,
|
D | pure_soft_keymaster_context.h | 75 UniquePtr<Key> attest_key,
|
/system/keymaster/include/keymaster/ |
D | keymaster_context.h | 161 UniquePtr<Key> attest_key,
|
D | soft_keymaster_device.h | 199 static keymaster_error_t attest_key(const keymaster2_device_t* dev,
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 327 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/ |
D | keymaster2_passthrough_context.cpp | 133 auto rc = device_->attest_key(device_, &key.key_material(), &attest_params, &cchain); in GenerateAttestation()
|
D | pure_soft_keymaster_context.cpp | 337 UniquePtr<Key> attest_key, in GenerateAttestation() argument 362 AttestKeyInfo attest_key_info(attest_key, &issuer_subject, error); in GenerateAttestation()
|
D | soft_keymaster_device.cpp | 287 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/ |
D | android_keymaster_test_utils.cpp | 346 return device()->attest_key(device(), &blob_, &attest_params, cert_chain); in AttestKey()
|