Home
last modified time | relevance | path

Searched refs:HardwareAuthToken (Results 1 – 25 of 120) sorted by relevance

12345

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DHardwareAuthTokenUtilsTest.java21 import android.hardware.keymaster.HardwareAuthToken;
40 final HardwareAuthToken hardwareAuthToken = HardwareAuthTokenUtils.toHardwareAuthToken(hat); in testByteArrayLoopBack()
56 final HardwareAuthToken hardwareAuthToken = new HardwareAuthToken(); in testHardwareAuthTokenLoopBack()
70 final HardwareAuthToken hardwareAuthToken2 = in testHardwareAuthTokenLoopBack()
/aosp12/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/
H A DIKeyMintOperation.aidl19 import android.hardware.security.keymint.HardwareAuthToken;
87 void updateAad(in byte[] input, in @nullable HardwareAuthToken authToken, in updateAad()
172 byte[] update(in byte[] input, in @nullable HardwareAuthToken authToken, in update()
270 in @nullable HardwareAuthToken authToken, in finish()
/aosp12/hardware/interfaces/biometrics/face/aidl/android/hardware/biometrics/face/
H A DISession.aidl24 import android.hardware.keymaster.HardwareAuthToken;
156 ICancellationSignal enroll(in HardwareAuthToken hat, in EnrollmentType type, in enroll()
321 void setFeature(in HardwareAuthToken hat, in Feature feature, boolean enabled); in setFeature()
425 void resetLockout(in HardwareAuthToken hat); in resetLockout()
/aosp12/frameworks/base/keystore/java/android/security/
H A DAuthTokenUtils.java20 import android.hardware.security.keymint.HardwareAuthToken;
39 public static @NonNull HardwareAuthToken toHardwareAuthToken(@NonNull byte[] array) { in toHardwareAuthToken()
40 final HardwareAuthToken hardwareAuthToken = new HardwareAuthToken(); in toHardwareAuthToken()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/
H A DHardwareAuthTokenUtils.java21 import android.hardware.keymaster.HardwareAuthToken;
31 public static byte[] toByteArray(HardwareAuthToken hat) { in toByteArray()
58 public static HardwareAuthToken toHardwareAuthToken(byte[] array) { in toHardwareAuthToken()
59 final HardwareAuthToken hardwareAuthToken = new HardwareAuthToken(); in toHardwareAuthToken()
/aosp12/system/security/keystore2/src/
H A Denforcements.rs26 Algorithm::Algorithm, ErrorCode::ErrorCode as Ec, HardwareAuthToken::HardwareAuthToken,
64 hat: Mutex<Option<HardwareAuthToken>>,
82 hat: HardwareAuthToken, in timestamp() argument
88 fn add_auth_token(&self, hat: HardwareAuthToken) { in add_auth_token() argument
129 TimeStampRequired(HardwareAuthToken),
140 Token(HardwareAuthToken, Option<TimeStampToken>),
178 pub fn add_auth_token(&self, hat: HardwareAuthToken) { in add_auth_token() argument
214 fn add_auth_token(&self, hat: HardwareAuthToken) { in add_auth_token() argument
414 ) -> Result<(Option<HardwareAuthToken>, AuthInfo)> { in authorize_create() argument
750 pub fn add_auth_token(&self, hat: HardwareAuthToken) { in add_auth_token() argument
[all …]
/aosp12/hardware/interfaces/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/
H A DISession.aidl20 import android.hardware.keymaster.HardwareAuthToken;
145 ICancellationSignal enroll(in HardwareAuthToken hat); in enroll()
372 void resetLockout(in HardwareAuthToken hat); in resetLockout()
/aosp12/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/
H A DIKeyMintOperation.aidl38 …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 …le byte[] signature, in @nullable android.hardware.security.keymint.HardwareAuthToken authToken, i… in finish()
/aosp12/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/
H A DIKeyMintOperation.aidl38 …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 …le byte[] signature, in @nullable android.hardware.security.keymint.HardwareAuthToken authToken, i… in finish()
/aosp12/system/keymaster/ng/include/
H A DAndroidKeymaster4Device.h40 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
63 const HardwareAuthToken& authToken,
93 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken,
96 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken,
100 const HardwareAuthToken& authToken,
H A DAndroidKeyMintOperation.h44 const optional<HardwareAuthToken>& authToken,
47 ScopedAStatus update(const vector<uint8_t>& input, const optional<HardwareAuthToken>& authToken,
53 const optional<HardwareAuthToken>& authToken, //
H A DAndroidKeymaster41Device.h39 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
88 const HardwareAuthToken& authToken, in verifyAuthorization()
152 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken, in begin()
158 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken, in update()
167 const HardwareAuthToken& authToken, in finish()
/aosp12/system/core/trusty/keymaster/include/trusty_keymaster/
H A DTrustyKeymaster4Device.h35 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
57 const HardwareAuthToken& authToken,
87 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken,
90 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken,
94 const HardwareAuthToken& authToken,
H A DTrustyKeyMintOperation.h43 const optional<HardwareAuthToken>& authToken,
46 ScopedAStatus update(const vector<uint8_t>& input, const optional<HardwareAuthToken>& authToken,
52 const optional<HardwareAuthToken>& authToken, //
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/
H A DVerificationTokenTest.cpp35 const HardwareAuthToken& authToken) { in verifyAuthorization()
80 1 /* operation handle */, AuthorizationSet() /* paramtersToVerify */, HardwareAuthToken()); in TEST_P()
101 2 /* operation handle */, AuthorizationSet() /* paramtersToVerify */, HardwareAuthToken()); in TEST_P()
140 AuthorizationSet() /* paramtersToVerify */, HardwareAuthToken()); in TEST_P()
162 AuthorizationSet() /* paramtersToVerify */, HardwareAuthToken()); in TEST_P()
/aosp12/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/1/android/hardware/biometrics/face/
H A DISession.aidl40 …ics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in andr… in enroll()
46 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature()
49 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout()
/aosp12/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/
H A DISession.aidl40 …ics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in andr… in enroll()
46 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature()
49 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout()
/aosp12/hardware/interfaces/confirmationui/support/test/
H A Dmsg_formatting_test.cpp33 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
113 HardwareAuthToken expected, actual; in TEST()
124 out = write(Message<HardwareAuthToken>(), out, expected); in TEST()
126 std::tie(in, actual) = read(Message<HardwareAuthToken>(), in); in TEST()
/aosp12/system/security/keystore/tests/
H A Dauth_token_table_test.cpp65 static HardwareAuthToken make_token(uint64_t rsid, uint64_t ssid = 0, uint64_t challenge = 0, in make_token()
67 HardwareAuthToken token; in make_token()
100 HardwareAuthToken found; in TEST()
139 HardwareAuthToken found; in TEST()
165 HardwareAuthToken found; in TEST()
278 HardwareAuthToken found; in TEST()
290 HardwareAuthToken found; in TEST()
312 HardwareAuthToken found; in TEST()
324 HardwareAuthToken found; in TEST()
336 HardwareAuthToken found; in TEST()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A DTestHal.java27 import android.hardware.keymaster.HardwareAuthToken;
86 public ICancellationSignal enroll(HardwareAuthToken hat, in createSession()
162 public void setFeature(HardwareAuthToken hat, byte feature, boolean enabled) in createSession()
181 public void resetLockout(HardwareAuthToken hat) throws RemoteException { in createSession()
/aosp12/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
H A DKeymaster3.h63 const HardwareAuthToken&, in verifyAuthorization() argument
102 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken,
105 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken,
109 const HardwareAuthToken& authToken,
/aosp12/hardware/interfaces/biometrics/face/aidl/default/
H A DSession.h42 ndk::ScopedAStatus enroll(const keymaster::HardwareAuthToken& hat,
60 ndk::ScopedAStatus setFeature(const keymaster::HardwareAuthToken& hat, Feature feature,
67 ndk::ScopedAStatus resetLockout(const keymaster::HardwareAuthToken& hat) override;
/aosp12/system/security/keystore2/aidl/android/security/authorization/
H A DAuthorizationTokens.aidl17 import android.hardware.security.keymint.HardwareAuthToken;
28 HardwareAuthToken authToken;
H A DIKeystoreAuthorization.aidl17 import android.hardware.security.keymint.HardwareAuthToken;
40 void addAuthToken(in HardwareAuthToken authToken); in addAuthToken()
/aosp12/system/security/keystore2/src/database/
H A Dperboot.rs20 HardwareAuthToken::HardwareAuthToken, HardwareAuthenticatorType::HardwareAuthenticatorType,
36 fn from_auth_token(tok: &HardwareAuthToken) -> Self { in from_auth_token()

12345