Present the algorithms of a MAC as a memoryless system
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 56/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- backend-api-design
Piste de recherche
Start with src/Commons/Definitions/MAC.lean and inspect the existing MAC.system interface, then read the definitions under src/Commons/Definitions/MAC/ for related reply laws and memoryless-system proofs. Add the proposed algorithms interface, system, reply law, and equality theorem; done means the stated bit-MAC acceptance behavior and theorem are covered.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Background
MAC.system holds one key and answers tag(m) and verify(m, t) under it. A construction that derives its MAC keys itself needs the two algorithms with the key as an argument:
\mathrm{tag}(k,m)\ \mapsto\ \tau\leftarrow\mathrm{mac.tag}\ k\ m,\qquad
\mathrm{verify}(k,m,\tau)\ \mapsto\ \mathrm{mac.verify}\ k\ m\ \tau .
This system keeps no state: each reply is drawn from the algorithm's law at the query. So it is the memoryless system of that reply law, and a router or a program over it has a closed form.
Proposed change
In src/Commons/Definitions/MAC.lean, add the interface MACAlgorithms K M T with the ports tag(key, message) and verify(key, message, tag), and the system MAC.algorithms mac on it. In src/Commons/Definitions/MAC/, add MAC.algorithms.replyLaw and
theorem MAC.algorithms.eq_ofMemoryless (mac : MAC K M T) (q : ℕ) :
MAC.algorithms (budget := q) mac =
TypedSystem.ofMemoryless (MACAlgorithms K M T q) (MAC.algorithms.replyLaw mac)
Acceptance criteria
Take the MAC on bits that tags every message with a fresh fair bit and accepts a tag equal to the key. Its algorithms answer tag(k, m) by a fair bit whatever $k$ and $m$, so two tags of one message are independent draws, and verify(k, m, t) by the point law of t == k.
- Langage dominant
- Lean
- Étoiles
- 3
- Forks
- 0
- Merge moyen
- 1 j 7 h
- PR mergées (30 j)
- 123
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de trailofbits/constructive-cryptography
-
Automate monoidal whiskering and unitor normalization in cc_normalizePeut-être pris @MarcIlunga l’a pris aujourd’hui. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
trailofbits/constructive-cryptography#480 ·
Les mainteneurs répondent en général sous 1 jour
-
Add MR16 Lemma 5, indifferentiability composition, and specificationPeut-être pris @MarcIlunga l’a pris il y a 1 jour. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
trailofbits/constructive-cryptography#473 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-format
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
trailofbits/constructive-cryptography#471 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
trailofbits/constructive-cryptography#465 ·
Les mainteneurs répondent en général sous 1 jour
-
needs-format
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 8/100
trailofbits/constructive-cryptography#462 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de trailofbits/constructive-cryptography
Issues similaires
-
[Sonar] javascript:S7772: Node.js built-in modules should be imported using the "node:" protocolOuvertesonar:maintainability sonarqube
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
telefonicaid/kafnus#338 ·
Les mainteneurs répondent en général sous 1 jour
-
Name Option For /gifOuverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Claude:NeedsReview GPT:ConfirmedBug GPT:NeedsReview triage
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
open5gs/open5gs#5114 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Configuration consistency enhancement
Difficulté 2/5 Moins d'une heure Accessibilité débutants 72/100
novalo-dev/Prestashop-MCP-Server#405 ·
Les mainteneurs répondent en général sous 1 jour
-
Sync: popup classification matches confirm words only as whole words (exists in sapwebgui.mcp)Ouvertecross-repo-sync
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Hochfrequenz/sapgui.mcp#1187 ·
Les mainteneurs répondent en général sous 1 jour