Giter Club home page Giter Club logo

Comments (2)

cygnusv avatar cygnusv commented on August 17, 2024

Private info (server side)

  • Blinding key $dk_i$, a random scalar Fr, ("validator's private key")
  • Aggregated share $Z_i$, where $Z_i = dk_i^{-1} Y_i$, (tpke::private_key_share)

Public information

  • Blinding public key $ek_i$, where $ek_i = dk_i H$
  • Blinded aggregated share $Y_i$, where $Y_i = y_i\ ek_i = y_i\ dk_i H$, (note that $Y_i$ is an aggregate from multiple PVSS)

Request

  • Requester has ciphertext commitment $U$ and sends it to servers
  • Each server returns two values:
    • Decryption share $D_i = e(U, Z_i)$
    • Checksum value $C_i = dk_i^{-1} U$
  • Requester uses $D_i$ values to combine
    • If the combination is successful, congratulations.
    • Otherwise, check 2 equations:
      • $D_i == e(C_i, Y_i)$
      • $e(C_i, ek_i) == e(U, H)$
      • If both equations don't hold, server $i$ returned an incorrect decryption share or checksum value.

Request - Light subvariant

  • Requester has ciphertext commitment $U$ and a scalar $\lambda$, and sends it to servers
  • Each server returns two values:
    • Decryption share $D_i = e(\lambda \cdot U, Z_i)$
    • Checksum value $C_i = dk_i^{-1} U$
  • Requester uses $D_i$ values to combine
    • If the combination is successful, congratulations.
    • Otherwise, check 2 equations:
      • $D_i == e(\lambda \cdot C_i , Y_i)$
      • $e(C_i, ek_i) == e(U, H)$
      • If both equations don't hold, server $i$ returned an incorrect decryption share or checksum value.

from ferveo.

cygnusv avatar cygnusv commented on August 17, 2024

For pessimistic case see issue #36

from ferveo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.