CBC supports wrap but not unwrap

Aperta
#856 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Start by comparing the CKM_AES_CBC and CKM_DES3_CBC wrap implementations with the AES_CBC_PAD wrap and unwrap handling. Check whether unpadded wrapping copies the IV, then identify the relevant tests and verify both unwrap support and IV behavior. Done means both mechanisms support the expected unwrap operation and the IV is copied correctly.

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

Descrizione

CKM_AES_CBC (and CKM_DES3_CBC) seem to support the wrap operation, but not the unwrap operation, this is kind of silly.

Given that AES_CBC_PAD does implement both, I suspect it's easy to add unwrapping support (also it looks like the unpadded wrapping code needs to be fixed to actually copy the IV).

Lingua principale
C++
Stelle
1.1k
Fork
434
Merge medio
12g 14h
PR unite (30g)
2

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 softhsm/SoftHSMv2

Tutte le issue di softhsm/SoftHSMv2

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.