Home
last modified time | relevance | path

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

1234567891011

/aosp12/system/security/keystore/
H A Dkeystore_cli_v2.cpp45 namespace keymint = ::aidl::android::hardware::security::keymint;
161 keymint::KeyParameterValue::make<keymint::KeyParameterValue::integer>( in verifyEncryptionKeyAttributes()
220 keymint::KeyParameterValue::make<keymint::KeyParameterValue::digest>( in verifyAuthenticationKeyAttributes()
250 .Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC) in loadOrCreateAndVerifyEncryptionKey()
380 if (auto iv = keymint::authorizationValue(keymint::TAG_NONCE, p)) { in encryptWithAuthentication()
402 .Authorization(keymint::TAG_PURPOSE, keymint::KeyPurpose::SIGN) in encryptWithAuthentication()
636 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::GCM) in GetAESParameters()
639 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::ECB); in GetAESParameters()
640 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC); in GetAESParameters()
641 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CTR); in GetAESParameters()
[all …]
/aosp12/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/
H A DIKeyMintDevice.aidl34 package android.hardware.security.keymint;
38 android.hardware.security.keymint.KeyMintHardwareInfo getHardwareInfo(); in getHardwareInfo()
40 …ty.keymint.KeyCreationResult generateKey(in android.hardware.security.keymint.KeyParameter[] keyPa… in generateKey()
41keymint.KeyCreationResult importKey(in android.hardware.security.keymint.KeyParameter[] keyParams,… in importKey()
42keymint.KeyCreationResult importWrappedKey(in byte[] wrappedKeyData, in byte[] wrappingKeyBlob, in… in importWrappedKey()
43 …byte[] upgradeKey(in byte[] keyBlobToUpgrade, in android.hardware.security.keymint.KeyParameter[] … in upgradeKey()
47keymint.BeginResult begin(in android.hardware.security.keymint.KeyPurpose purpose, in byte[] keyBl… in begin()
51 …android.hardware.security.keymint.KeyCharacteristics[] getKeyCharacteristics(in byte[] keyBlob, in… in getKeyCharacteristics()
H A DKeyParameterValue.aidl34 package android.hardware.security.keymint;
39 android.hardware.security.keymint.Algorithm algorithm;
40 android.hardware.security.keymint.BlockMode blockMode;
41 android.hardware.security.keymint.PaddingMode paddingMode;
42 android.hardware.security.keymint.Digest digest;
43 android.hardware.security.keymint.EcCurve ecCurve;
44 android.hardware.security.keymint.KeyOrigin origin;
45 android.hardware.security.keymint.KeyPurpose keyPurpose;
46 android.hardware.security.keymint.HardwareAuthenticatorType hardwareAuthenticatorType;
47 android.hardware.security.keymint.SecurityLevel securityLevel;
H A DIRemotelyProvisionedComponent.aidl34 package android.hardware.security.keymint;
38 android.hardware.security.keymint.RpcHardwareInfo getHardwareInfo(); in getHardwareInfo()
39 …byte[] generateEcdsaP256KeyPair(in boolean testMode, out android.hardware.security.keymint.MacedPu… in generateEcdsaP256KeyPair()
40keymint.MacedPublicKey[] keysToSign, in byte[] endpointEncryptionCertChain, in byte[] challenge, o… in generateCertificateRequest()
H A DKeyCharacteristics.aidl34 package android.hardware.security.keymint;
38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
39 android.hardware.security.keymint.KeyParameter[] authorizations;
H A DKeyParameter.aidl34 package android.hardware.security.keymint;
38 android.hardware.security.keymint.Tag tag = android.hardware.security.keymint.Tag.INVALID;
39 android.hardware.security.keymint.KeyParameterValue value;
H A DIKeyMintOperation.aidl34 package android.hardware.security.keymint;
38 …void updateAad(in byte[] input, in @nullable android.hardware.security.keymint.HardwareAuthToken a… in updateAad()
39 …byte[] update(in byte[] input, in @nullable android.hardware.security.keymint.HardwareAuthToken au… in update()
40 …t, in @nullable byte[] signature, in @nullable android.hardware.security.keymint.HardwareAuthToken… in finish()
H A DBeginResult.aidl34 package android.hardware.security.keymint;
39 android.hardware.security.keymint.KeyParameter[] params;
40 android.hardware.security.keymint.IKeyMintOperation operation;
/aosp12/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/
H A DIKeyMintDevice.aidl34 package android.hardware.security.keymint;
38 android.hardware.security.keymint.KeyMintHardwareInfo getHardwareInfo(); in getHardwareInfo()
40 …ty.keymint.KeyCreationResult generateKey(in android.hardware.security.keymint.KeyParameter[] keyPa… in generateKey()
41keymint.KeyCreationResult importKey(in android.hardware.security.keymint.KeyParameter[] keyParams,… in importKey()
42keymint.KeyCreationResult importWrappedKey(in byte[] wrappedKeyData, in byte[] wrappingKeyBlob, in… in importWrappedKey()
43 …byte[] upgradeKey(in byte[] keyBlobToUpgrade, in android.hardware.security.keymint.KeyParameter[] … in upgradeKey()
47keymint.BeginResult begin(in android.hardware.security.keymint.KeyPurpose purpose, in byte[] keyBl… in begin()
51 …android.hardware.security.keymint.KeyCharacteristics[] getKeyCharacteristics(in byte[] keyBlob, in… in getKeyCharacteristics()
H A DKeyParameterValue.aidl34 package android.hardware.security.keymint;
39 android.hardware.security.keymint.Algorithm algorithm;
40 android.hardware.security.keymint.BlockMode blockMode;
41 android.hardware.security.keymint.PaddingMode paddingMode;
42 android.hardware.security.keymint.Digest digest;
43 android.hardware.security.keymint.EcCurve ecCurve;
44 android.hardware.security.keymint.KeyOrigin origin;
45 android.hardware.security.keymint.KeyPurpose keyPurpose;
46 android.hardware.security.keymint.HardwareAuthenticatorType hardwareAuthenticatorType;
47 android.hardware.security.keymint.SecurityLevel securityLevel;
H A DIRemotelyProvisionedComponent.aidl34 package android.hardware.security.keymint;
38 android.hardware.security.keymint.RpcHardwareInfo getHardwareInfo(); in getHardwareInfo()
39 …byte[] generateEcdsaP256KeyPair(in boolean testMode, out android.hardware.security.keymint.MacedPu… in generateEcdsaP256KeyPair()
40keymint.MacedPublicKey[] keysToSign, in byte[] endpointEncryptionCertChain, in byte[] challenge, o… in generateCertificateRequest()
H A DKeyCharacteristics.aidl34 package android.hardware.security.keymint;
38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
39 android.hardware.security.keymint.KeyParameter[] authorizations;
H A DKeyParameter.aidl34 package android.hardware.security.keymint;
38 android.hardware.security.keymint.Tag tag = android.hardware.security.keymint.Tag.INVALID;
39 android.hardware.security.keymint.KeyParameterValue value;
H A DIKeyMintOperation.aidl34 package android.hardware.security.keymint;
38 …void updateAad(in byte[] input, in @nullable android.hardware.security.keymint.HardwareAuthToken a… in updateAad()
39 …byte[] update(in byte[] input, in @nullable android.hardware.security.keymint.HardwareAuthToken au… in update()
40 …t, in @nullable byte[] signature, in @nullable android.hardware.security.keymint.HardwareAuthToken… in finish()
/aosp12/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/
H A DKeyParameterValue.aidl17 package android.hardware.security.keymint;
19 import android.hardware.security.keymint.Algorithm;
20 import android.hardware.security.keymint.BlockMode;
21 import android.hardware.security.keymint.Digest;
22 import android.hardware.security.keymint.EcCurve;
23 import android.hardware.security.keymint.HardwareAuthenticatorType;
24 import android.hardware.security.keymint.KeyOrigin;
25 import android.hardware.security.keymint.KeyPurpose;
26 import android.hardware.security.keymint.PaddingMode;
27 import android.hardware.security.keymint.SecurityLevel;
H A DIKeyMintDevice.aidl17 package android.hardware.security.keymint;
19 import android.hardware.security.keymint.AttestationKey;
20 import android.hardware.security.keymint.BeginResult;
21 import android.hardware.security.keymint.HardwareAuthToken;
22 import android.hardware.security.keymint.IKeyMintOperation;
23 import android.hardware.security.keymint.KeyCharacteristics;
24 import android.hardware.security.keymint.KeyCreationResult;
25 import android.hardware.security.keymint.KeyFormat;
27 import android.hardware.security.keymint.KeyParameter;
28 import android.hardware.security.keymint.KeyPurpose;
[all …]
H A DIRemotelyProvisionedComponent.aidl17 package android.hardware.security.keymint;
19 import android.hardware.security.keymint.DeviceInfo;
20 import android.hardware.security.keymint.MacedPublicKey;
21 import android.hardware.security.keymint.ProtectedData;
22 import android.hardware.security.keymint.RpcHardwareInfo;
/aosp12/system/core/trusty/keymaster/
H A 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",
109 "android.hardware.security.keymint-V1-ndk_platform",
/aosp12/system/security/keystore2/src/km_compat/
H A 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 …]
H A 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::ErrorCode;
30 using ::aidl::android::hardware::security::keymint::IKeyMintOperation;
31 using ::aidl::android::hardware::security::keymint::KeyCharacteristics;
32 using ::aidl::android::hardware::security::keymint::KeyPurpose;
33 using ::aidl::android::hardware::security::keymint::PaddingMode;
34 using ::aidl::android::hardware::security::keymint::SecurityLevel;
[all …]
H A 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;
/aosp12/system/keymaster/ng/
H A 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()
H A 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()
/aosp12/system/security/provisioner/
H A Drkp_factory_extraction_tool.cpp28 using aidl::android::hardware::security::keymint::DeviceInfo;
29 using aidl::android::hardware::security::keymint::IRemotelyProvisionedComponent;
30 using aidl::android::hardware::security::keymint::MacedPublicKey;
31 using aidl::android::hardware::security::keymint::ProtectedData;
32 using aidl::android::hardware::security::keymint::remote_prov::generateEekChain;
33 using aidl::android::hardware::security::keymint::remote_prov::getProdEekChain;
34 using aidl::android::hardware::security::keymint::remote_prov::jsonEncodeCsrWithBuild;
/aosp12/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterDefs.java19 import android.hardware.security.keymint.Algorithm;
20 import android.hardware.security.keymint.BlockMode;
21 import android.hardware.security.keymint.Digest;
22 import android.hardware.security.keymint.ErrorCode;
24 import android.hardware.security.keymint.KeyFormat;
25 import android.hardware.security.keymint.KeyOrigin;
26 import android.hardware.security.keymint.KeyPurpose;
27 import android.hardware.security.keymint.PaddingMode;
28 import android.hardware.security.keymint.SecurityLevel;
29 import android.hardware.security.keymint.Tag;
[all …]

1234567891011