Home
last modified time | relevance | path

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

/hardware/interfaces/identity/aidl/default/
DEicTests.cpp59 optional<vector<uint8_t>> signatureOfToBeSigned = provisioningProxy.finishAddingEntries(); in TEST() local
60 ASSERT_TRUE(signatureOfToBeSigned.has_value()); in TEST()
DFakeSecureHardwareProxy.cpp273 vector<uint8_t> signatureOfToBeSigned(EIC_ECDSA_P256_SIGNATURE_SIZE); in finishAddingEntries() local
274 if (!eicProvisioningFinishAddingEntries(&ctx_, signatureOfToBeSigned.data())) { in finishAddingEntries()
277 return signatureOfToBeSigned; in finishAddingEntries()
716 vector<uint8_t> signatureOfToBeSigned(EIC_ECDSA_P256_SIGNATURE_SIZE); in deleteCredential() local
719 proofOfDeletionCborSize, signatureOfToBeSigned.data())) { in deleteCredential()
722 return signatureOfToBeSigned; in deleteCredential()
732 vector<uint8_t> signatureOfToBeSigned(EIC_ECDSA_P256_SIGNATURE_SIZE); in proveOwnership() local
735 signatureOfToBeSigned.data())) { in proveOwnership()
738 return signatureOfToBeSigned; in proveOwnership()
/hardware/interfaces/identity/aidl/default/libeic/
DEicPresentation.h266 uint8_t* signatureOfToBeSigned,
276 uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]);
285 uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]);
DEicPresentation.c903 uint8_t* signatureOfToBeSigned, in eicPresentationFinishRetrievalWithSignature() argument
926 if (!eicOpsEcDsa(ctx->deviceKeyPriv, cborSha256, signatureOfToBeSigned)) { in eicPresentationFinishRetrievalWithSignature()
938 uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]) { in eicPresentationDeleteCredential()
985 if (!eicOpsEcDsa(ctx->credentialPrivateKey, cborSha256, signatureOfToBeSigned)) { in eicPresentationDeleteCredential()
997 uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]) { in eicPresentationProveOwnership()
1042 if (!eicOpsEcDsa(ctx->credentialPrivateKey, cborSha256, signatureOfToBeSigned)) { in eicPresentationProveOwnership()
DEicProvisioning.h128 EicProvisioning* ctx, uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]);
DEicProvisioning.c362 EicProvisioning* ctx, uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]) { in eicProvisioningFinishAddingEntries()
375 if (!eicOpsEcDsa(ctx->credentialPrivateKey, cborSha256, signatureOfToBeSigned)) { in eicProvisioningFinishAddingEntries()
/hardware/interfaces/identity/aidl/default/common/
DIdentityCredential.cpp141 optional<vector<uint8_t>> signatureOfToBeSigned = hwProxy_->deleteCredential( in deleteCredentialCommon() local
143 if (!signatureOfToBeSigned) { in deleteCredentialCommon()
149 support::coseSignEcDsaWithSignature(signatureOfToBeSigned.value(), in deleteCredentialCommon()
181 optional<vector<uint8_t>> signatureOfToBeSigned = hwProxy_->proveOwnership( in proveOwnership() local
183 if (!signatureOfToBeSigned) { in proveOwnership()
189 support::coseSignEcDsaWithSignature(signatureOfToBeSigned.value(), in proveOwnership()
312 optional<vector<uint8_t>> signatureOfToBeSigned; in startRetrieval() local
314 signatureOfToBeSigned = support::coseSignGetSignature(readerSignature); in startRetrieval()
315 if (!signatureOfToBeSigned) { in startRetrieval()
DWritableIdentityCredential.cpp384 optional<vector<uint8_t>> signatureOfToBeSigned = hwProxy_->finishAddingEntries(); in finishAddingEntries() local
385 if (!signatureOfToBeSigned) { in finishAddingEntries()
391 support::coseSignEcDsaWithSignature(signatureOfToBeSigned.value(), in finishAddingEntries()