/system/keymint/hal/src/ |
D | hal.rs | 24 use keymint::{KeyParameterValue::KeyParameterValue, Tag::Tag, TagType::TagType}; 26 use kmr_wire::{keymint::DateTime, keymint::KeyParam, KeySizeInBits, RsaExponent}; 31 pub use android_hardware_security_keymint::aidl::android::hardware::security::keymint; 32 pub use android_hardware_security_rkp::aidl::android::hardware::security::keymint as rkp; 43 keymint::ErrorCode::ErrorCode::INVALID_ARGUMENT.0, in failed_conversion() 138 impl Fromm<wire::keymint::Certificate> for keymint::Certificate::Certificate { 139 fn fromm(val: wire::keymint::Certificate) -> Self { in fromm() 148 impl Fromm<wire::keymint::HardwareAuthToken> for keymint::HardwareAuthToken::HardwareAuthToken { 149 fn fromm(val: wire::keymint::HardwareAuthToken) -> Self { in fromm() 160 impl Fromm<wire::keymint::KeyCharacteristics> for keymint::KeyCharacteristics::KeyCharacteristics { [all …]
|
D | keymint.rs | 5 failed_conversion, keymint, keymint::IKeyMintOperation::IKeyMintOperation, 9 use kmr_wire::{keymint::KeyParam, AsCborValue, *}; 66 ) -> binder::Strong<dyn keymint::IKeyMintDevice::IKeyMintDevice> { in new_as_binder() 67 keymint::IKeyMintDevice::BnKeyMintDevice::new_binder( in new_as_binder() 82 impl<T: SerializedChannel> keymint::IKeyMintDevice::IKeyMintDevice for Device<T> { 83 fn getHardwareInfo(&self) -> binder::Result<keymint::KeyMintHardwareInfo::KeyMintHardwareInfo> { in getHardwareInfo() 94 keyParams: &[keymint::KeyParameter::KeyParameter], in generateKey() 95 attestationKey: Option<&keymint::AttestationKey::AttestationKey>, in generateKey() 96 ) -> binder::Result<keymint::KeyCreationResult::KeyCreationResult> { in generateKey() 112 keyParams: &[keymint::KeyParameter::KeyParameter], in importKey() [all …]
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 46 namespace keymint = ::aidl::android::hardware::security::keymint; 57 keymint::AuthorizationSet parameters; 122 keymint::SecurityLevel securitylevel) { in GetSecurityLevelInterface() 131 return !(a.securityLevel == keymint::SecurityLevel::SOFTWARE || in isHardwareEnforced() 132 a.securityLevel == keymint::SecurityLevel::KEYSTORE); in isHardwareEnforced() 161 return a.keyParameter.tag == keymint::Tag::ALGORITHM && in verifyEncryptionKeyAttributes() 163 keymint::KeyParameterValue::make<keymint::KeyParameterValue::algorithm>( in verifyEncryptionKeyAttributes() 164 keymint::Algorithm::AES); in verifyEncryptionKeyAttributes() 170 return a.keyParameter.tag == keymint::Tag::KEY_SIZE && in verifyEncryptionKeyAttributes() 172 keymint::KeyParameterValue::make<keymint::KeyParameterValue::integer>( in verifyEncryptionKeyAttributes() [all …]
|
/system/keymint/common/src/bin/ |
D | keyblob-cddl-dump.rs | 2 use kmr_wire::keymint; 79 schema.add(keymint::KeyCharacteristics { in main() 80 security_level: keymint::SecurityLevel::TrustedEnvironment, in main() 98 verified_boot_state: keymint::VerifiedBootState::Unverified, in main() 100 schema.add(keymint::VerifiedBootState::Unverified); in main() 102 schema.add(keymint::SecurityLevel::TrustedEnvironment); in main() 103 schema.add(keymint::KeyParam::CreationDatetime(keymint::DateTime { in main() 106 schema.add(keymint::Tag::NoAuthRequired); in main() 108 schema.add(keymint::Algorithm::Ec); in main() 109 schema.add(keymint::BlockMode::Ecb); in main() [all …]
|
/system/keymaster/ng/ |
D | AndroidSecureClock.cpp | 32 using keymint::km_utils::kmBlob2vector; 33 using keymint::km_utils::kmError2ScopedAStatus; 36 const std::shared_ptr<keymint::AndroidKeyMintDevice>& keymint) in AndroidSecureClock() argument 37 : impl_(keymint->getKeymasterImpl()) {} in AndroidSecureClock()
|
D | AndroidSharedSecret.cpp | 28 using keymint::km_utils::kmBlob2vector; 29 using keymint::km_utils::kmError2ScopedAStatus; 32 const std::shared_ptr<keymint::AndroidKeyMintDevice>& keymint) in AndroidSharedSecret() argument 33 : impl_(keymint->getKeymasterImpl()) {} in AndroidSharedSecret()
|
/system/core/trusty/keymaster/ |
D | Android.bp | 84 name: "android.hardware.security.keymint-service.trusty", 86 init_rc: ["keymint/android.hardware.security.keymint-service.trusty.rc"], 88 "keymint/android.hardware.security.keymint-service.trusty.xml", 101 "keymint/TrustyKeyMintDevice.cpp", 102 "keymint/TrustyKeyMintOperation.cpp", 103 "keymint/TrustyRemotelyProvisionedComponentDevice.cpp", 104 "keymint/TrustySecureClock.cpp", 105 "keymint/TrustySharedSecret.cpp", 106 "keymint/service.cpp",
|
/system/keymint/tests/tests/ |
D | keyblob_test.rs | 12 use kmr_wire::{keymint, keymint::KeyParam}; 22 characteristics: vec![keymint::KeyCharacteristics { in test_encrypted_keyblob_roundtrip() 23 security_level: keymint::SecurityLevel::TrustedEnvironment, in test_encrypted_keyblob_roundtrip() 25 KeyParam::Algorithm(keymint::Algorithm::Aes), in test_encrypted_keyblob_roundtrip() 26 KeyParam::BlockMode(keymint::BlockMode::Ecb), in test_encrypted_keyblob_roundtrip() 27 KeyParam::Padding(keymint::PaddingMode::None), in test_encrypted_keyblob_roundtrip() 38 keymint::SecurityLevel::TrustedEnvironment, in test_encrypted_keyblob_roundtrip()
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/android/system/keystore2/ |
D | Authorization.aidl | 38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.… 39 android.hardware.security.keymint.KeyParameter keyParameter;
|
D | IKeystoreSecurityLevel.aidl | 38 …android.system.keystore2.KeyDescriptor key, in android.hardware.security.keymint.KeyParameter[] op… in createOperation() 39 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in generateKey() 40 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in importKey() 41 …rappingKey, in @nullable byte[] maskingKey, in android.hardware.security.keymint.KeyParameter[] pa… in importWrappedKey()
|
D | AuthenticatorSpec.aidl | 38 …android.hardware.security.keymint.HardwareAuthenticatorType authenticatorType = android.hardware.s…
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ |
D | Authorization.aidl | 38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.… 39 android.hardware.security.keymint.KeyParameter keyParameter;
|
D | IKeystoreSecurityLevel.aidl | 38 …android.system.keystore2.KeyDescriptor key, in android.hardware.security.keymint.KeyParameter[] op… in createOperation() 39 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in generateKey() 40 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in importKey() 41 …rappingKey, in @nullable byte[] maskingKey, in android.hardware.security.keymint.KeyParameter[] pa… in importWrappedKey()
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/3/android/system/keystore2/ |
D | Authorization.aidl | 38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.… 39 android.hardware.security.keymint.KeyParameter keyParameter;
|
D | IKeystoreSecurityLevel.aidl | 38 …android.system.keystore2.KeyDescriptor key, in android.hardware.security.keymint.KeyParameter[] op… in createOperation() 39 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in generateKey() 40 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in importKey() 41 …rappingKey, in @nullable byte[] maskingKey, in android.hardware.security.keymint.KeyParameter[] pa… in importWrappedKey()
|
D | AuthenticatorSpec.aidl | 38 …android.hardware.security.keymint.HardwareAuthenticatorType authenticatorType = android.hardware.s…
|
/system/keymint/common/src/crypto/ |
D | traits.rs | 6 use kmr_wire::{keymint, keymint::Digest, KeySizeInBits, RsaExponent}; 88 _params: &[keymint::KeyParam], in generate_key() 114 _params: &[keymint::KeyParam], in import_key() 148 _params: &[keymint::KeyParam], in generate_key() 158 fn import_key(&self, data: &[u8], _params: &[keymint::KeyParam]) -> Result<KeyMaterial, Error> { in import_key() 183 _params: &[keymint::KeyParam], in generate_key() 198 _params: &[keymint::KeyParam], in import_key() 233 params: &[keymint::KeyParam], in generate_key() 242 _params: &[keymint::KeyParam], in import_pkcs8_key() 287 params: &[keymint::KeyParam], in generate_nist_key() [all …]
|
/system/security/provisioner/ |
D | rkp_factory_extraction_lib.cpp | 40 using aidl::android::hardware::security::keymint::DeviceInfo; 41 using aidl::android::hardware::security::keymint::IRemotelyProvisionedComponent; 42 using aidl::android::hardware::security::keymint::MacedPublicKey; 43 using aidl::android::hardware::security::keymint::ProtectedData; 44 using aidl::android::hardware::security::keymint::RpcHardwareInfo; 45 using aidl::android::hardware::security::keymint::remote_prov::EekChain; 46 using aidl::android::hardware::security::keymint::remote_prov::generateEekChain; 47 using aidl::android::hardware::security::keymint::remote_prov::getProdEekChain; 48 using aidl::android::hardware::security::keymint::remote_prov::jsonEncodeCsrWithBuild; 49 using aidl::android::hardware::security::keymint::remote_prov::parseAndValidateFactoryDeviceInfo; [all …]
|
/system/core/trusty/keymint/ |
D | android.hardware.security.keymint-service.rust.trusty.rc | 1 service vendor.keymint.rust-trusty /vendor/bin/hw/android.hardware.security.keymint-service.rust.tr… 5 # The keymint service is not allowed to restart.
|
/system/security/keystore2/src/km_compat/ |
D | km_compat.h | 31 using ::aidl::android::hardware::security::keymint::AttestationKey; 32 using ::aidl::android::hardware::security::keymint::BeginResult; 33 using ::aidl::android::hardware::security::keymint::Certificate; 34 using ::aidl::android::hardware::security::keymint::HardwareAuthToken; 35 using ::aidl::android::hardware::security::keymint::KeyCharacteristics; 36 using ::aidl::android::hardware::security::keymint::KeyCreationResult; 37 using ::aidl::android::hardware::security::keymint::KeyFormat; 38 using ::aidl::android::hardware::security::keymint::KeyMintHardwareInfo; 39 using ::aidl::android::hardware::security::keymint::KeyParameter; 40 using ::aidl::android::hardware::security::keymint::KeyPurpose; [all …]
|
D | slot_test.cpp | 25 using ::aidl::android::hardware::security::keymint::Algorithm; 26 using ::aidl::android::hardware::security::keymint::BlockMode; 27 using ::aidl::android::hardware::security::keymint::Certificate; 28 using ::aidl::android::hardware::security::keymint::Digest; 29 using ::aidl::android::hardware::security::keymint::EcCurve; 30 using ::aidl::android::hardware::security::keymint::ErrorCode; 31 using ::aidl::android::hardware::security::keymint::IKeyMintOperation; 32 using ::aidl::android::hardware::security::keymint::KeyCharacteristics; 33 using ::aidl::android::hardware::security::keymint::KeyPurpose; 34 using ::aidl::android::hardware::security::keymint::PaddingMode; [all …]
|
D | certificate_test.cpp | 36 using ::aidl::android::hardware::security::keymint::Algorithm; 37 using ::aidl::android::hardware::security::keymint::BlockMode; 38 using ::aidl::android::hardware::security::keymint::Certificate; 39 using ::aidl::android::hardware::security::keymint::Digest; 40 using ::aidl::android::hardware::security::keymint::PaddingMode; 41 using ::aidl::android::hardware::security::keymint::SecurityLevel; 42 using ::aidl::android::hardware::security::keymint::Tag; 45 namespace KMV1 = ::aidl::android::hardware::security::keymint;
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/ |
D | IKeystoreSecurityLevel.aidl | 38 …android.system.keystore2.KeyDescriptor key, in android.hardware.security.keymint.KeyParameter[] op… in createOperation() 39 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in generateKey() 40 …tem.keystore2.KeyDescriptor attestationKey, in android.hardware.security.keymint.KeyParameter[] pa… in importKey() 41 …rappingKey, in @nullable byte[] maskingKey, in android.hardware.security.keymint.KeyParameter[] pa… in importWrappedKey()
|
D | Authorization.aidl | 38 android.hardware.security.keymint.SecurityLevel securityLevel; 39 android.hardware.security.keymint.KeyParameter keyParameter;
|
/system/hardware/interfaces/keystore2/aidl/ |
D | Android.bp | 23 imports: ["android.hardware.security.keymint-V3"], 43 imports: ["android.hardware.security.keymint-V1"], 47 imports: ["android.hardware.security.keymint-V3"], 51 imports: ["android.hardware.security.keymint-V3"],
|