threefish: add method to update tweak between encrypt/decrypt calls
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- cryptography
Direzione di ricerca
Inizia individuando l’implementazione Rust di Threefish e il relativo array di stato sk, quindi confronta il modo in cui l’implementazione C collegata passa keyCtx alla cifratura e alla decifratura. Definisci come i chiamanti aggiornerebbero il tweak senza ricostruire il cifrario e aggiungi una copertura che dimostri che le chiamate successive usano tweak diversi preservando il key schedule.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, there is no way to update the tweak value between successive encrypt/decrypt calls without creating a new cipher instance. This is inefficient and it would be appreciated if you added a way to update the tweak without creating a new cipher instance. I'm not sure it would be possible to add given that your current implementation stores all of the cipher state in a giant array sk, but in the original C implementation keyCtx is passed into every encrypt/decrypt call, which allowed the tweak to be changed between cipher calls without mucking with the rest of the cipher state.
- Lingua principale
- Rust
- Stelle
- 784
- Fork
- 157
- Merge medio
- 15h 24m
- PR unite (30g)
- 9
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RustCrypto/block-ciphers
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
RustCrypto/block-ciphers#589 · 3 commenti ·
-
aes
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
RustCrypto/block-ciphers#559 · 10 commenti ·
-
aes
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
RustCrypto/block-ciphers#548 · 1 commento ·
-
SVE AES on aarch64 Apertaaes
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
RustCrypto/block-ciphers#485 · 7 commenti ·
-
Add const time column to the algorithms table and mention const time properties in each crate README Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
RustCrypto/block-ciphers#480 · 1 reazione ·
Tutte le issue di RustCrypto/block-ciphers
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug core
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Apertafuzz
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
linebender/vello_svg#90 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100