Home
last modified time | relevance | path

Searched refs:challenge (Results 1 – 25 of 104) sorted by relevance

12345

/hardware/interfaces/identity/aidl/vts/
DVtsAttestationTests.cpp69 string challenge = "NotSoRandomChallenge1NotSoRandomChallenge1NotSoRandomChallenge1"; in TEST_P() local
70 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P()
92 string challenge = "c"; in TEST_P() local
93 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P()
DUtil.h37 AttestationData(sp<IWritableIdentityCredential>& writableCredential, string challenge, in AttestationData()
42 if (!challenge.empty()) { in AttestationData()
43 attestationChallenge.assign(challenge.begin(), challenge.end()); in AttestationData()
DVtsIWritableIdentityCredentialTests.cpp89 string challenge = "NotSoRandomChallenge1NotSoRandomChallenge1NotSoRandomChallenge1"; in TEST_P() local
90 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P()
111 string challenge = "NotSoRandomChallenge1"; in TEST_P() local
112 test_utils::AttestationData attData(writableCredential, challenge, in TEST_P()
297 string challenge = "NotSoRandomChallenge1"; in TEST_P() local
298 test_utils::AttestationData attData(writableCredential, challenge, in TEST_P()
385 string challenge = "NotSoRandomChallenge"; in TEST_P() local
386 test_utils::AttestationData attData(writableCredential, challenge, in TEST_P()
546 string challenge = "NotSoRandomChallenge"; in TEST_P() local
547 test_utils::AttestationData attData(writableCredential, challenge, in TEST_P()
[all …]
/hardware/interfaces/identity/aidl/default/
DFakeSecureHardwareProxy.cpp79 const vector<uint8_t>& challenge, const vector<uint8_t>& applicationId) { in createCredentialKey() argument
82 if (!eicProvisioningCreateCredentialKey(&ctx_, challenge.data(), challenge.size(), in createCredentialKey()
206 uint64_t challenge; in createAuthChallenge() local
207 if (!eicPresentationCreateAuthChallenge(&ctx_, &challenge)) { in createAuthChallenge()
210 return challenge; in createAuthChallenge()
232 uint64_t challenge, uint64_t secureUserId, uint64_t authenticatorId, in setAuthToken() argument
236 return eicPresentationSetAuthToken(&ctx_, challenge, secureUserId, authenticatorId, in setAuthToken()
324 const string& docType, const vector<uint8_t>& challenge, bool includeChallenge, in deleteCredential() argument
327 if (!eicPresentationDeleteCredential(&ctx_, docType.c_str(), challenge.data(), challenge.size(), in deleteCredential()
336 const string& docType, bool testCredential, const vector<uint8_t>& challenge, in proveOwnership() argument
[all …]
DFakeSecureHardwareProxy.h41 optional<vector<uint8_t>> createCredentialKey(const vector<uint8_t>& challenge,
94 bool setAuthToken(uint64_t challenge, uint64_t secureUserId, uint64_t authenticatorId,
128 const vector<uint8_t>& challenge,
133 const vector<uint8_t>& challenge,
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DFakeFingerprintEngine.h31 auto challenge = dist(mRandom); in generateChallengeImpl() local
32 cb->onChallengeGenerated(challenge); in generateChallengeImpl()
35 void revokeChallengeImpl(ISessionCallback* cb, int64_t challenge) { in revokeChallengeImpl() argument
37 cb->onChallengeRevoked(challenge); in revokeChallengeImpl()
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp160 void check_attestation_record(AttestationRecord attestation, const HidlBuf& challenge, in check_attestation_record() argument
168 EXPECT_EQ(challenge, attestation.attestation_challenge); in check_attestation_record()
267 HidlBuf challenge("challenge"); in TEST_P() local
272 .Authorization(TAG_ATTESTATION_CHALLENGE, challenge) in TEST_P()
289 attestation, challenge, in TEST_P()
314 HidlBuf challenge("challenge"); in TEST_P() local
319 .Authorization(TAG_ATTESTATION_CHALLENGE, challenge) in TEST_P()
336 attestation, challenge, in TEST_P()
373 HidlBuf challenge("challenge"); in TEST_P() local
378 .Authorization(TAG_ATTESTATION_CHALLENGE, challenge) in TEST_P()
[all …]
/hardware/interfaces/gatekeeper/1.0/vts/functional/
DVtsHalGatekeeperV1_0TargetTest.cpp49 uint64_t challenge; member
53 GatekeeperRequest() : uid(0), challenge(0) {} in GatekeeperRequest()
101 uid_, req.challenge, req.curPwdHandle, req.newPwd, in doVerify()
148 void checkVerify(GatekeeperResponse &rsp, uint64_t challenge, in checkVerify() argument
156 EXPECT_EQ(challenge, auth_token->challenge); in checkVerify()
172 hidl_vec<uint8_t> &passwordHandle, uint64_t challenge, in verifyPassword() argument
180 verifyReq.challenge = challenge; in verifyPassword()
182 checkVerify(verifyRsp, challenge, expectSuccess); in verifyPassword()
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/1/android/hardware/biometrics/fingerprint/
DISessionCallback.aidl37 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument
38 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/
DISessionCallback.aidl37 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument
38 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
/hardware/interfaces/biometrics/face/aidl/default/
DSession.cpp44 auto challenge = dist(mRandom); in generateChallenge() local
45 cb_->onChallengeGenerated(challenge); in generateChallenge()
50 ndk::ScopedAStatus Session::revokeChallenge(int64_t challenge) { in revokeChallenge() argument
53 cb_->onChallengeRevoked(challenge); in revokeChallenge()
/hardware/interfaces/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/
DISessionCallback.aidl28 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument
33 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
/hardware/interfaces/identity/aidl/default/common/
DSecureHardwareProxy.h76 virtual optional<vector<uint8_t>> createCredentialKey(const vector<uint8_t>& challenge,
134 virtual bool setAuthToken(uint64_t challenge, uint64_t secureUserId, uint64_t authenticatorId,
170 const vector<uint8_t>& challenge,
175 const vector<uint8_t>& challenge,
DIdentityCredential.cpp89 const vector<uint8_t>& challenge, vector<uint8_t>* outProofOfDeletionSignature) { in deleteCredentialWithChallenge() argument
90 return deleteCredentialCommon(challenge, true, outProofOfDeletionSignature); in deleteCredentialWithChallenge()
94 const vector<uint8_t>& challenge, bool includeChallenge, in deleteCredentialCommon() argument
96 if (challenge.size() > 32) { in deleteCredentialCommon()
103 array = {"ProofOfDeletion", docType_, challenge, testCredential_}; in deleteCredentialCommon()
110 docType_, challenge, includeChallenge, proofOfDeletionCbor.size()); in deleteCredentialCommon()
130 const vector<uint8_t>& challenge, vector<uint8_t>* outProofOfOwnershipSignature) { in proveOwnership() argument
131 if (challenge.size() > 32) { in proveOwnership()
137 array = {"ProofOfOwnership", docType_, challenge, testCredential_}; in proveOwnership()
142 docType_, testCredential_, challenge, proofOfOwnershipCbor.size()); in proveOwnership()
[all …]
DIdentityCredential.h64 const vector<uint8_t>& challenge,
66 ndk::ScopedAStatus proveOwnership(const vector<uint8_t>& challenge,
93 ndk::ScopedAStatus deleteCredentialCommon(const vector<uint8_t>& challenge,
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/1/android/hardware/biometrics/face/
DISessionCallback.aidl37 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument
38 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/
DISessionCallback.aidl37 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument
38 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
/hardware/interfaces/biometrics/face/aidl/android/hardware/biometrics/face/
DISessionCallback.aidl31 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument
36 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/current/android/hardware/identity/
DIIdentityCredential.aidl50 byte[] deleteCredentialWithChallenge(in byte[] challenge); in deleteCredentialWithChallenge() argument
51 byte[] proveOwnership(in byte[] challenge); in proveOwnership() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/3/android/hardware/identity/
DIIdentityCredential.aidl51 byte[] deleteCredentialWithChallenge(in byte[] challenge); in deleteCredentialWithChallenge() argument
52 byte[] proveOwnership(in byte[] challenge); in proveOwnership() argument
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp91 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
105 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
151 EXPECT_EQ(0U, result1.token.challenge); in TEST_P()
166 EXPECT_EQ(0U, result2.token.challenge); in TEST_P()
/hardware/interfaces/identity/aidl/android/hardware/identity/
DIIdentityCredential.aidl427 byte[] deleteCredentialWithChallenge(in byte[] challenge); in deleteCredentialWithChallenge() argument
449 byte[] proveOwnership(in byte[] challenge); in proveOwnership() argument
/hardware/interfaces/identity/aidl/default/libeic/
DEicPresentation.h120 bool eicPresentationSetAuthToken(EicPresentation* ctx, uint64_t challenge, uint64_t secureUserId,
233 const uint8_t* challenge, size_t challengeSize,
242 const uint8_t* challenge, size_t challengeSize,
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp62 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in authToken2HidlVec()
72 pos = copy_bytes_to_iterator(token.challenge, pos); in authToken2HidlVec()
90 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in hidlVec2AuthToken()
100 pos = copy_bytes_from_iterator(&token.challenge, pos); in hidlVec2AuthToken()
156 appendUint64(serializedToken, token.challenge); in serializeVerificationToken()
172 token.challenge = extractUint64(serializedToken, 0); in deserializeVerificationToken()
/hardware/interfaces/security/secureclock/aidl/vts/functional/
DSecureClockAidlTest.cpp115 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
125 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
156 EXPECT_EQ(0U, result1.token.challenge); in TEST_P()
166 EXPECT_EQ(1U, result2.token.challenge); in TEST_P()

12345