/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicSession.c | 98 bool eicSessionSetSessionTranscript(EicSession* ctx, const uint8_t* sessionTranscript, in eicSessionSetSessionTranscript() argument 105 if (eicMemMem(sessionTranscript, sessionTranscriptSize, ctx->ephemeralPublicKey, in eicSessionSetSessionTranscript() 110 if (eicMemMem(sessionTranscript, sessionTranscriptSize, in eicSessionSetSessionTranscript() 122 eicOpsSha256Update(&shaCtx, sessionTranscript, sessionTranscriptSize); in eicSessionSetSessionTranscript()
|
D | EicPresentation.c | 217 bool eicPresentationValidateRequestMessage(EicPresentation* ctx, const uint8_t* sessionTranscript, in eicPresentationValidateRequestMessage() argument 232 eicOpsSha256Update(&sha256, sessionTranscript, sessionTranscriptSize); in eicPresentationValidateRequestMessage() 331 eicCborAppend(&cbor, sessionTranscript, sessionTranscriptSize); in eicPresentationValidateRequestMessage() 561 static size_t appendDeviceAuthentication(EicCbor* cbor, const uint8_t* sessionTranscript, in appendDeviceAuthentication() argument 610 eicCborAppend(cbor, sessionTranscript, sessionTranscriptSize); in appendDeviceAuthentication() 624 EicPresentation* ctx, const uint8_t* sessionTranscript, size_t sessionTranscriptSize, in eicPresentationPrepareDeviceAuthentication() argument 641 eicOpsSha256Update(&sha256, sessionTranscript, sessionTranscriptSize); in eicPresentationPrepareDeviceAuthentication() 678 eicCborAppendByteString(&cbor, sessionTranscript, sessionTranscriptSize); in eicPresentationPrepareDeviceAuthentication() 719 appendDeviceAuthentication(&ctx->cbor, sessionTranscript, sessionTranscriptSize, in eicPresentationPrepareDeviceAuthentication() 738 appendDeviceAuthentication(&ctx->cborEcdsa, sessionTranscript, sessionTranscriptSize, in eicPresentationPrepareDeviceAuthentication()
|
D | EicSession.h | 64 bool eicSessionSetSessionTranscript(EicSession* ctx, const uint8_t* sessionTranscript,
|
D | EicPresentation.h | 199 bool eicPresentationValidateRequestMessage(EicPresentation* ctx, const uint8_t* sessionTranscript, 227 EicPresentation* ctx, const uint8_t* sessionTranscript, size_t sessionTranscriptSize,
|
/hardware/interfaces/identity/aidl/default/common/ |
D | PresentationSession.cpp | 116 const vector<uint8_t>& sessionTranscript) { in setSessionTranscript() argument 117 sessionTranscript_ = sessionTranscript; in setSessionTranscript() 118 if (!hwProxy_->setSessionTranscript(sessionTranscript)) { in setSessionTranscript()
|
D | IdentityCredential.cpp | 278 const vector<uint8_t>& signingKeyBlob, const vector<uint8_t>& sessionTranscript, in startRetrieval() argument 288 if (sessionTranscript != session_->getSessionTranscript()) { in startRetrieval() 297 if (sessionTranscript_ != sessionTranscript) { in startRetrieval() 304 sessionTranscript_ = sessionTranscript; in startRetrieval() 421 if (sessionTranscript.size() > 0 && itemsRequest.size() > 0 && readerSignature.size() > 0) { in startRetrieval() 434 if (!hwProxy_->validateRequestMessage(sessionTranscript, itemsRequest, in startRetrieval() 469 if (sessionTranscript.size() > 0 && ephemeralPublicKey_.size() > 0) { in startRetrieval() 476 if (sessionTranscript.size() > 0 && in startRetrieval() 477 !(memmem(sessionTranscript.data(), sessionTranscript.size(), ePubX.data(), in startRetrieval() 479 memmem(sessionTranscript.data(), sessionTranscript.size(), ePubY.data(), in startRetrieval()
|
D | SecureHardwareProxy.h | 150 virtual bool setSessionTranscript(const vector<uint8_t>& sessionTranscript) = 0; 193 virtual bool validateRequestMessage(const vector<uint8_t>& sessionTranscript, 197 virtual bool prepareDeviceAuthentication(const vector<uint8_t>& sessionTranscript,
|
D | PresentationSession.h | 62 ndk::ScopedAStatus setSessionTranscript(const vector<uint8_t>& sessionTranscript) override;
|
/hardware/interfaces/identity/aidl/vts/ |
D | EndToEndTests.cpp | 341 cppbor::Array sessionTranscript = cppbor::Array() in TEST_P() local 344 vector<uint8_t> sessionTranscriptEncoded = sessionTranscript.encode(); in TEST_P() 375 .add(sessionTranscript.clone()) in TEST_P() 478 cppbor::SemanticTag(24, sessionTranscript.encode()) in TEST_P() 481 support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P() 492 .add(sessionTranscript.clone()) in TEST_P() 527 calculatedMac = support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P() 538 .add(sessionTranscript.clone()) in TEST_P() 573 calculatedMac = support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P() 584 .add(sessionTranscript.clone()) in TEST_P() [all …]
|
D | ReaderAuthTests.cpp | 264 cppbor::Array sessionTranscript = cppbor::Array() in retrieveData() local 267 vector<uint8_t> sessionTranscriptBytes = sessionTranscript.encode(); in retrieveData() 295 .add(sessionTranscript.clone()) in retrieveData() 519 cppbor::Array sessionTranscript = cppbor::Array() in TEST_P() local 522 vector<uint8_t> sessionTranscriptBytes = sessionTranscript.encode(); in TEST_P() 537 .add(sessionTranscript.clone()) in TEST_P()
|
D | UserAuthTests.cpp | 162 cppbor::Map sessionTranscript; in calcSessionTranscript() local 163 sessionTranscript.add(42, cppbor::SemanticTag(24, deviceEngagementBytes)); in calcSessionTranscript() 164 sessionTranscript.add(43, cppbor::SemanticTag(24, eReaderPubBytes)); in calcSessionTranscript() 165 return sessionTranscript; in calcSessionTranscript()
|
/hardware/interfaces/identity/aidl/default/ |
D | FakeSecureHardwareProxy.cpp | 402 const vector<uint8_t>& sessionTranscript) { in setSessionTranscript() argument 407 return eicSessionSetSessionTranscript(&ctx_, sessionTranscript.data(), in setSessionTranscript() 408 sessionTranscript.size()); in setSessionTranscript() 544 const vector<uint8_t>& sessionTranscript, const vector<uint8_t>& requestMessage, in validateRequestMessage() argument 551 &ctx_, sessionTranscript.data(), sessionTranscript.size(), requestMessage.data(), in validateRequestMessage() 600 const vector<uint8_t>& sessionTranscript, const vector<uint8_t>& readerEphemeralPublicKey, in prepareDeviceAuthentication() argument 612 &ctx_, sessionTranscript.data(), sessionTranscript.size(), in prepareDeviceAuthentication()
|
D | FakeSecureHardwareProxy.h | 115 bool setSessionTranscript(const vector<uint8_t>& sessionTranscript) override; 174 bool validateRequestMessage(const vector<uint8_t>& sessionTranscript, 178 bool prepareDeviceAuthentication(const vector<uint8_t>& sessionTranscript,
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/5/android/hardware/identity/ |
D | IPresentationSession.aidl | 40 void setSessionTranscript(in byte[] sessionTranscript); in setSessionTranscript() argument
|
D | IIdentityCredential.aidl | 44 …hToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] r… in startRetrieval() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/current/android/hardware/identity/ |
D | IPresentationSession.aidl | 40 void setSessionTranscript(in byte[] sessionTranscript); in setSessionTranscript() argument
|
D | IIdentityCredential.aidl | 44 …hToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] r… in startRetrieval() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/4/android/hardware/identity/ |
D | IPresentationSession.aidl | 40 void setSessionTranscript(in byte[] sessionTranscript); in setSessionTranscript() argument
|
D | IIdentityCredential.aidl | 44 …hToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] r… in startRetrieval() argument
|
/hardware/interfaces/identity/aidl/android/hardware/identity/ |
D | IPresentationSession.aidl | 89 void setSessionTranscript(in byte[] sessionTranscript); in setSessionTranscript() argument
|
D | IIdentityCredential.aidl | 244 in byte[] sessionTranscript, in byte[] readerSignature, in int[] requestCounts); in startRetrieval() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/1/android/hardware/identity/ |
D | IIdentityCredential.aidl | 25 …hToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] r… in startRetrieval() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/2/android/hardware/identity/ |
D | IIdentityCredential.aidl | 25 …hToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] r… in startRetrieval() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/3/android/hardware/identity/ |
D | IIdentityCredential.aidl | 44 …hToken, in byte[] itemsRequest, in byte[] signingKeyBlob, in byte[] sessionTranscript, in byte[] r… in startRetrieval() argument
|
/hardware/interfaces/identity/support/tests/ |
D | IdentityCredentialSupportTest.cpp | 515 cppbor::Array sessionTranscript; in TEST() local 516 sessionTranscript.add(cppbor::SemanticTag(24, deviceEngagementEncoded)); in TEST() 517 sessionTranscript.add(cppbor::SemanticTag(24, eReaderKeyEncoded)); in TEST() 518 sessionTranscript.add(cppbor::Null()); in TEST() 519 vector<uint8_t> sessionTranscriptEncoded = sessionTranscript.encode(); in TEST()
|