/hardware/interfaces/identity/aidl/vts/ |
D | VtsAttestationTests.cpp | 69 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()
|
D | Util.h | 37 AttestationData(sp<IWritableIdentityCredential>& writableCredential, string challenge, in AttestationData() 42 if (!challenge.empty()) { in AttestationData() 43 attestationChallenge.assign(challenge.begin(), challenge.end()); in AttestationData()
|
D | VtsIWritableIdentityCredentialTests.cpp | 89 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/ |
D | FakeSecureHardwareProxy.cpp | 79 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 …]
|
D | FakeSecureHardwareProxy.h | 41 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/ |
D | FakeFingerprintEngine.h | 31 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/ |
D | DeviceUniqueAttestationTest.cpp | 160 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/ |
D | VtsHalGatekeeperV1_0TargetTest.cpp | 49 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/ |
D | ISessionCallback.aidl | 37 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/ |
D | ISessionCallback.aidl | 37 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument 38 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
|
/hardware/interfaces/biometrics/face/aidl/default/ |
D | Session.cpp | 44 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/ |
D | ISessionCallback.aidl | 28 void onChallengeGenerated(in long challenge); in onChallengeGenerated() argument 33 void onChallengeRevoked(in long challenge); in onChallengeRevoked() argument
|
/hardware/interfaces/identity/aidl/default/common/ |
D | SecureHardwareProxy.h | 76 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,
|
D | IdentityCredential.cpp | 89 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 …]
|
D | IdentityCredential.h | 64 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/ |
D | ISessionCallback.aidl | 37 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/ |
D | ISessionCallback.aidl | 37 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/ |
D | ISessionCallback.aidl | 31 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/ |
D | IIdentityCredential.aidl | 50 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/ |
D | IIdentityCredential.aidl | 51 byte[] deleteCredentialWithChallenge(in byte[] challenge); in deleteCredentialWithChallenge() argument 52 byte[] proveOwnership(in byte[] challenge); in proveOwnership() argument
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | VerificationTokenTest.cpp | 91 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/ |
D | IIdentityCredential.aidl | 427 byte[] deleteCredentialWithChallenge(in byte[] challenge); in deleteCredentialWithChallenge() argument 449 byte[] proveOwnership(in byte[] challenge); in proveOwnership() argument
|
/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicPresentation.h | 120 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/ |
D | keymaster_utils.cpp | 62 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/ |
D | SecureClockAidlTest.cpp | 115 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()
|