Home
last modified time | relevance | path

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

12345678

/system/keymint/hal/src/
Dhal.rs24 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 …]
Dkeymint.rs5 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/
Dkeystore_cli_v2.cpp46 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/
Dkeyblob-cddl-dump.rs2 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/
DAndroidSecureClock.cpp32 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()
DAndroidSharedSecret.cpp28 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/
DAndroid.bp84 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/
Dkeyblob_test.rs12 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/
DAuthorization.aidl38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
39 android.hardware.security.keymint.KeyParameter keyParameter;
DIKeystoreSecurityLevel.aidl38 …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()
DAuthenticatorSpec.aidl38 …android.hardware.security.keymint.HardwareAuthenticatorType authenticatorType = android.hardware.s…
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DAuthorization.aidl38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
39 android.hardware.security.keymint.KeyParameter keyParameter;
DIKeystoreSecurityLevel.aidl38 …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/
DAuthorization.aidl38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
39 android.hardware.security.keymint.KeyParameter keyParameter;
DIKeystoreSecurityLevel.aidl38 …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()
DAuthenticatorSpec.aidl38 …android.hardware.security.keymint.HardwareAuthenticatorType authenticatorType = android.hardware.s…
/system/keymint/common/src/crypto/
Dtraits.rs6 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/
Drkp_factory_extraction_lib.cpp40 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/
Dandroid.hardware.security.keymint-service.rust.trusty.rc1 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/
Dkm_compat.h31 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 …]
Dslot_test.cpp25 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 …]
Dcertificate_test.cpp36 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/
DIKeystoreSecurityLevel.aidl38 …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()
DAuthorization.aidl38 android.hardware.security.keymint.SecurityLevel securityLevel;
39 android.hardware.security.keymint.KeyParameter keyParameter;
/system/hardware/interfaces/keystore2/aidl/
DAndroid.bp23 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"],

12345678