Share the coin relabeling law of the two hashed-DH simulations

Aperta
#372 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Ambito
cryptography

Direzione di ricerca

Start at the definition of coinLaw and its two map lemmas, coinLaw_map_shift and coinLaw_map_shiftI, to see how each currently derives the pushforward equality from its own hypotheses. Factor the shared statement Law(N, c+Z) = U(Nonce) ⊗ U(Z/pZ) into one lemma beside coinLaw, then re-derive both maps from it. Done means C_smul_stDH_real_eq and C_smul_stDH_ideal_eq still check under their existing assumptions via lake build.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Background

Let $N$ and $Z$ be the nonce and exponent drawn by coinLaw. Both hashed-DH simulations use the same equality for each fixed $c\in\mathbb Z/p\mathbb Z$:

\mathrm{Law}(N,c+Z)=U(\mathrm{Nonce})\otimes U(\mathbb Z/p\mathbb Z).
Proposed change

Prove the pushforward once beside coinLaw. Use it for coinLaw_map_shift and coinLaw_map_shiftI; each simulation keeps its own invariant hypotheses.

Acceptance criteria

Check both attachment equalities, C_smul_stDH_real_eq and C_smul_stDH_ideal_eq, with their existing assumptions.

Lingua principale
Lean
Stelle
3
Fork
0
Merge medio
1g 7h
PR unite (30g)
123

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di trailofbits/constructive-cryptography

Tutte le issue di trailofbits/constructive-cryptography

Issue simili

Altre issue su Cryptography

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.