Home
last modified time | relevance | path

Searched refs:authChallenge (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/identity/aidl/default/libeic/
DEicSession.c47 if (!eicOpsRandom((uint8_t*)&(ctx->authChallenge), sizeof(ctx->authChallenge))) { in eicSessionInit()
51 } while (ctx->authChallenge == EIC_KM_AUTH_CHALLENGE_UNSET); in eicSessionInit()
80 *outAuthChallenge = ctx->authChallenge; in eicSessionGetAuthChallenge()
DEicPresentation.c201 bool eicPresentationCreateAuthChallenge(EicPresentation* ctx, uint64_t* authChallenge) { in eicPresentationCreateAuthChallenge() argument
203 if (!eicOpsRandom((uint8_t*)&(ctx->authChallenge), sizeof(uint64_t))) { in eicPresentationCreateAuthChallenge()
207 } while (ctx->authChallenge == EIC_KM_AUTH_CHALLENGE_UNSET); in eicPresentationCreateAuthChallenge()
208 eicDebug("Created auth challenge %" PRIu64, ctx->authChallenge); in eicPresentationCreateAuthChallenge()
209 *authChallenge = ctx->authChallenge; in eicPresentationCreateAuthChallenge()
383 *outAuthChallenge = ctx->authChallenge; in getChallenge()
390 *outAuthChallenge = session->authChallenge; in getChallenge()
403 uint64_t authChallenge; in eicPresentationSetAuthToken() local
404 if (!getChallenge(ctx, &authChallenge)) { in eicPresentationSetAuthToken()
410 if (authChallenge == EIC_KM_AUTH_CHALLENGE_UNSET) { in eicPresentationSetAuthToken()
[all …]
DEicSession.h38 uint64_t authChallenge; member
DEicPresentation.h52 uint64_t authChallenge; member
139 bool eicPresentationCreateAuthChallenge(EicPresentation* ctx, uint64_t* authChallenge);
/hardware/interfaces/identity/aidl/default/common/
DPresentationSession.cpp57 optional<uint64_t> authChallenge = hwProxy_->getAuthChallenge(); in initialize() local
58 if (!authChallenge) { in initialize()
62 authChallenge_ = authChallenge.value(); in initialize()
/hardware/interfaces/identity/aidl/vts/
DPresentationSessionTests.cpp162 int64_t authChallenge; in TEST_P() local
163 result = credential->createAuthChallenge(&authChallenge); in TEST_P()
/hardware/interfaces/identity/aidl/default/
DFakeSecureHardwareProxy.cpp373 uint64_t authChallenge; in getAuthChallenge() local
374 if (!eicSessionGetAuthChallenge(&ctx_, &authChallenge)) { in getAuthChallenge()
377 return authChallenge; in getAuthChallenge()
/hardware/interfaces/biometrics/fingerprint/2.1/
DIBiometricsFingerprint.hal48 preEnroll() generates (uint64_t authChallenge);