Shekyl Stats

Refreshing...

Network

Connected
Seed Nodes Active
--

Chain

Height
—
Network Height
—
Top Block Hash
--
Block Spacing
--

Rewards

Reward
--
Difficulty
--
Hash Rate
--

Supply

Circulating Supply
--
Remaining Supply
--
Burn Total
--

Economics

Emission Multiplier
--
Burn
--
Economy Fee
--
Standard Fee
--
High Fee
--

Staking

Stake Share
--

Protocol

Transaction Format
TransactionV3
Membership Proof
FCMP++
Spend Auth
Ed25519 + ML-DSA-65
Confidentiality
Stealth + BP+

Node

Pool Count
--
Data Size
--
Revision
--
Sync Status
Syncing

Constant time

A signature that protects money must not reveal the key by how long the operation takes. PRISM does not claim that yet.

Why the clock is part of the design

Software does not only produce an answer. It also takes time, touches memory, and draws power, and those traces can depend on the secret it is handling. If signing a transaction is faster for some key bits than for others, an observer who can see that timing — on a shared machine, through a careful measurement, over many signatures — may learn something about the key. For a cryptocurrency that is not a theoretical worry. The key signs money, and it signs it often.

“Constant time” is the name for the discipline that keeps those traces from depending on the secret: the same shape of work, whatever the secret bytes are. It is a property of an implementation, not of the mathematics alone. A correct signature can still leak through its running time. PRISM's own documents say the implementation security obligation is open, and that no constant-time claim is made.

Two different jobs

The verifier works on public data

Checking a signature does not require the signer's secret. The challenge degree is derived from the public key, the salt, and the message, all of which travel with the signature. The field arithmetic that follows is variable-time on purpose. The code says so: the challenge degree is public, so this arithmetic does not aim at a secret-independent running time. That is a ruled description of the verifier, not a gap that someone forgot to close. A verifier that is slow or fast according to a public number is not revealing a key.

The signer handles secrets

Signing is the operation that must not leak. The signer that exists today is an experimental wrapper around a C reference implementation. It has not been audited for secret-dependent timing or memory access. The repository states that no constant-time claim, and no complete secret-erasure claim, is made for it. It exists to produce test vectors.

The signer that would replace it is specified, and the first stage of its integer arithmetic exists in Rust, but nothing in the verifier calls that arithmetic yet. The secret integer type is shaped so that a later pass can harden it: the source does not branch on a secret limb or index a table with one. Shaped for hardening is not the same as constant time. The specification is explicit that the first signer makes no constant-time claim, that nearly every routine in the middle stages is variable-time in that first signer, and that the list of those routines is the work the last stage has to do.

What is ruled, and what is still open

Constant-time hardening is inside the beta gate, and it is the last stage. A beta is what would go to the repository's stable branch. Until that stage is done, and until the work has been reviewed, this is not a signature for a wallet.

Ruled

  • No constant-time claim is made for the implementation that exists.
  • The verifier's arithmetic on the public challenge does not aim at secret-independent time.
  • Hardening is the last stage before beta, not a feature to be added after people rely on it.
  • The first Rust signer, when it exists, is specified to be correct and to wipe its secrets, and still to make no constant-time claim.

Still open

  • A review of the signer for timing and memory access.
  • Whether the compiled form of the secret integer layer actually runs in secret-independent time. The source is shaped for that; the compiler has not been shown to preserve it.
  • The policy for the caller-supplied randomness a production signer would require.