/system/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.cpp | 200 static void ConvertCharacteristics(const keymaster_key_characteristics_t& characteristics, in ConvertCharacteristics() argument 202 if (hw_enforced) hw_enforced->Reinitialize(characteristics.hw_enforced); in ConvertCharacteristics() 203 if (sw_enforced) sw_enforced->Reinitialize(characteristics.sw_enforced); in ConvertCharacteristics() 212 keymaster_key_characteristics_t* characteristics = nullptr; in GenerateKey() local 215 km_device_->generate_key(km_device_, &key_description, &blob, &characteristics); in GenerateKey() 221 ConvertCharacteristics(*characteristics, hw_enforced, sw_enforced); in GenerateKey() 222 keymaster_free_characteristics(characteristics); in GenerateKey() 223 free(characteristics); in GenerateKey() 232 keymaster_key_characteristics_t characteristics = {}; in GenerateKey() local 235 km_device_->generate_key(km_device_, &key_description, &blob, &characteristics); in GenerateKey() [all …]
|
D | keymaster1_engine.cpp | 67 static void ConvertCharacteristics(keymaster_key_characteristics_t* characteristics, in ConvertCharacteristics() argument 70 characteristics); in ConvertCharacteristics() 71 if (hw_enforced) hw_enforced->Reinitialize(characteristics->hw_enforced); in ConvertCharacteristics() 72 if (sw_enforced) sw_enforced->Reinitialize(characteristics->sw_enforced); in ConvertCharacteristics() 81 keymaster_key_characteristics_t* characteristics; in GenerateKey() local 84 &blob, &characteristics); in GenerateKey() 90 ConvertCharacteristics(characteristics, hw_enforced, sw_enforced); in GenerateKey() 102 keymaster_key_characteristics_t* characteristics; in ImportKey() local 108 &blob, &characteristics); in ImportKey() 114 ConvertCharacteristics(characteristics, hw_enforced, sw_enforced); in ImportKey()
|
/system/keymint/common/src/ |
D | keyblob.rs | 120 pub characteristics: Vec<KeyCharacteristics>, field 294 characteristics: Vec<KeyCharacteristics>, 299 info.try_extend_from_slice(&characteristics.into_vec()?)?; 315 pub characteristics: Vec<KeyCharacteristics>, field 323 tag::characteristics_at(&self.characteristics, sec_level) in characteristics_at() 380 let characteristics = plaintext_keyblob.characteristics; in encrypt() localVariable 384 derive_kek(kdf, root_key, &key_derivation_input, characteristics.clone(), hidden, sdd)?; in encrypt() 407 characteristics, in encrypt() 439 let characteristics = encrypted_keyblob.characteristics; in decrypt() localVariable 444 characteristics.clone(), in decrypt() [all …]
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 76 keymaster_key_characteristics_t characteristics = {}; in ParseKeyBlob() local 89 &characteristics); in ParseKeyBlob() 96 hw_enforced.Reinitialize(characteristics.hw_enforced); in ParseKeyBlob() 97 sw_enforced.Reinitialize(characteristics.sw_enforced); in ParseKeyBlob() 99 keymaster_free_characteristics(&characteristics); in ParseKeyBlob()
|
D | soft_keymaster_device.cpp | 315 keymaster_key_characteristics_t* characteristics = in BuildCharacteristics() local 318 if (characteristics) { in BuildCharacteristics() 319 hw_enforced.CopyToParamSet(&characteristics->hw_enforced); in BuildCharacteristics() 320 sw_enforced.CopyToParamSet(&characteristics->sw_enforced); in BuildCharacteristics() 322 return characteristics; in BuildCharacteristics() 685 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) { in generate_key() argument 698 return km1_dev->generate_key(km1_dev, params, key_blob, characteristics); in generate_key() 710 if (characteristics) { in generate_key() 717 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in generate_key() 718 if (!*characteristics) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in generate_key() [all …]
|
D | keymaster1_passthrough_context.cpp | 130 keymaster_key_characteristics_t* characteristics; in parseKeymaster1HwBlob() local 132 app_data_ptr, &characteristics); in parseKeymaster1HwBlob() 136 characteristics); in parseKeymaster1HwBlob() 138 hw_enforced->Reinitialize(characteristics->hw_enforced); in parseKeymaster1HwBlob() 139 sw_enforced->Reinitialize(characteristics->sw_enforced); in parseKeymaster1HwBlob()
|
D | soft_keymaster_context.cpp | 352 keymaster_key_characteristics_t* characteristics; in ParseKeymaster1HwBlob() local 354 app_data_ptr, &characteristics); in ParseKeymaster1HwBlob() 357 characteristics); in ParseKeymaster1HwBlob() 361 hw_enforced->Reinitialize(characteristics->hw_enforced); in ParseKeymaster1HwBlob() 362 sw_enforced->Reinitialize(characteristics->sw_enforced); in ParseKeymaster1HwBlob()
|
/system/core/debuggerd/client/ |
D | debuggerd_client_test.cpp | 43 std::vector<std::string> characteristics = in getThreadCount() local 45 if (std::find(characteristics.begin(), characteristics.end(), "embedded") in getThreadCount() 46 != characteristics.end()) { in getThreadCount()
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 51 keymaster_key_characteristics_t* characteristics); 59 keymaster_key_characteristics_t* characteristics); 102 keymaster_key_characteristics_t* characteristics); 113 keymaster_key_characteristics_t* characteristics);
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 132 keymaster_key_characteristics_t** characteristics); 143 keymaster_key_characteristics_t** characteristics); 181 keymaster_key_characteristics_t* characteristics); 192 keymaster_key_characteristics_t* characteristics);
|
/system/keymint/common/src/tag/ |
D | tests.rs | 26 for (characteristics, msg) in tests { in test_characteristics_invalid() 27 let result = crate::tag::characteristics_valid(&characteristics); in test_characteristics_invalid()
|
/system/keymint/common/src/bin/ |
D | keyblob-cddl-dump.rs | 69 characteristics: vec![], in main() 82 characteristics: vec![], in main()
|
/system/media/camera/docs/ |
D | session_characteristics_tags.mako | 29 * Mapping of session characteristics to the INFO_SESSION_CONFIGURATION_QUERY_VERSION value
|
D | CameraCharacteristicsKeys.mako | 19 * Mapping from INFO_SESSION_CONFIGURATION_QUERY_VERSION to session characteristics key.
|
/system/sepolicy/private/ |
D | isolated_compute_app.te | 9 ### TODO(b/266923392): Clean rules for isolated_compute_app characteristics
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | CameraAvgFragment.java | 507 CameraCharacteristics characteristics in setUpCameraOutputs() local 511 Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in setUpCameraOutputs() 516 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs() 535 mSensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in setUpCameraOutputs() 594 Boolean available = characteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in setUpCameraOutputs()
|
/system/core/trusty/keymaster/include/trusty_keymaster/ |
D | TrustyKeyMintDevice.h | 51 vector<KeyCharacteristics>* characteristics) override;
|
/system/keymint/common/src/keyblob/ |
D | keyblob.cddl | 12 ; - CBOR-serialization of `EncryptedKeyBlob.characteristics` 29 characteristics: [* KeyCharacteristics],
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 387 let characteristics = in test_get_key_characteristics() localVariable 390 assert!(characteristics.iter().any(|kc| kc.securityLevel == hw_info.securityLevel)); in test_get_key_characteristics() 391 let sec_level_enforced = &characteristics in test_get_key_characteristics()
|
/system/keymint/ta/src/ |
D | keys.rs | 367 characteristics: chars in finish_keyblob_creation() 531 let keyblob::PlaintextKeyBlob { characteristics, key_material } = wrapping_key; in import_wrapped_key() 547 tag::characteristics_at(&characteristics, self.hw_info.security_level)?, in import_wrapped_key() 743 for chars in &mut keyblob.characteristics { in upgrade_key()
|
/system/keymint/tests/tests/ |
D | keyblob_test.rs | 37 characteristics: vec![keymint::KeyCharacteristics { in test_encrypted_keyblob_roundtrip()
|
/system/keymint/tests/src/bin/ |
D | auth-keyblob-parse.rs | 175 characteristics: vec![ in process()
|
/system/core/trusty/keymaster/keymint/ |
D | TrustyKeyMintDevice.cpp | 147 vector<KeyCharacteristics>* characteristics) { in getKeyCharacteristics() argument 157 *characteristics = convertKeyCharacteristics(response.unenforced, response.enforced, in getKeyCharacteristics()
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 135 void PrintTags(const std::vector<ks2::Authorization>& characteristics, bool printHardwareEnforced) { in PrintTags() argument 136 for (const auto& a : characteristics) { in PrintTags() 143 void PrintKeyCharacteristics(const std::vector<ks2::Authorization>& characteristics) { in PrintKeyCharacteristics() argument 145 PrintTags(characteristics, true /* printHardwareEnforced */); in PrintKeyCharacteristics() 147 PrintTags(characteristics, false /* printHardwareEnforced */); in PrintKeyCharacteristics()
|
/system/security/keystore2/src/ |
D | legacy_importer.rs | 920 let (characteristics, upgraded_blob) = upgrade_keyblob_if_required_with( in get_key_characteristics_without_app_data() 932 Ok((key_characteristics_to_internal(characteristics), upgraded_blob)) in get_key_characteristics_without_app_data()
|