Home
last modified time | relevance | path

Searched refs:cborSha256 (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/identity/aidl/default/libeic/
DEicPresentation.c924 uint8_t cborSha256[EIC_SHA256_DIGEST_SIZE]; in eicPresentationFinishRetrievalWithSignature() local
925 eicCborFinal(&ctx->cborEcdsa, cborSha256); in eicPresentationFinishRetrievalWithSignature()
926 if (!eicOpsEcDsa(ctx->deviceKeyPriv, cborSha256, signatureOfToBeSigned)) { in eicPresentationFinishRetrievalWithSignature()
983 uint8_t cborSha256[EIC_SHA256_DIGEST_SIZE]; in eicPresentationDeleteCredential() local
984 eicCborFinal(&cbor, cborSha256); in eicPresentationDeleteCredential()
985 if (!eicOpsEcDsa(ctx->credentialPrivateKey, cborSha256, signatureOfToBeSigned)) { in eicPresentationDeleteCredential()
1040 uint8_t cborSha256[EIC_SHA256_DIGEST_SIZE]; in eicPresentationProveOwnership() local
1041 eicCborFinal(&cbor, cborSha256); in eicPresentationProveOwnership()
1042 if (!eicOpsEcDsa(ctx->credentialPrivateKey, cborSha256, signatureOfToBeSigned)) { in eicPresentationProveOwnership()
DEicProvisioning.c363 uint8_t cborSha256[EIC_SHA256_DIGEST_SIZE]; in eicProvisioningFinishAddingEntries() local
366 eicCborFinal(&ctx->cbor, cborSha256); in eicProvisioningFinishAddingEntries()
375 if (!eicOpsEcDsa(ctx->credentialPrivateKey, cborSha256, signatureOfToBeSigned)) { in eicProvisioningFinishAddingEntries()