🐛 [BUG] - Fix Key Verification IV values
@dccutrig ci sta già lavorando.
Dal 31/3/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Description
Currently keyv just increments a counter, research this a little further and likely need to use the active SA IV (either SA 0 or max for EPs)
I was looking at Crypto_Increment, it only does an increment of +1 on each call. In this example we have a + x + 1... which I think is just so they are all unique. If we use the existing crypto_increment, without the + x, we'd either have to use a for loop X times to increment, or re-write the UTs using it.
Are there any issues with the proposed change along the lines of:
for ( int j=0; j<x; j++ )
{
Crypto_Increment(sdls_ep_keyv_reply.blk[x].iv, SDLS_IV_LEN);
}
I'm unclear on what the second increment could / should be for the line:
sdls_ep_reply[pdu_data_idx - 1] = sdls_ep_reply[pdu_data_idx - 1] + x + 1;
REVIEW this and update.
Branch Name
No response
Reproduction steps
Not blank
Screenshots

Logs
OS
Linux
- Lingua principale
- C
- Stelle
- 178
- Fork
- 70
- Merge medio
- 1h 32m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
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 nasa/CryptoLib
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
🐛 [BUG] - `sa_delete` Zeros `abm_len` but Never `est`/`ast`Forse già presa @sylvesterkaczmarek l’ha presa 57 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
🐛 [BUG] - `sa_create` Silently Returns Success for an Out-of-Range SPIForse già presa @Hashim1999164 l’ha presa 65 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
🐛 [BUG] - Conformance - TLV Procedure-Type Bit Written to the Wrong Struct Field — Reply PDUs Executed as CommandsForse già presa @sylvesterkaczmarek l’ha presa 74 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
🐛 [BUG] - Conformance - sa_setARSNW Does Not Enforce the SA's Authentication-Capability PreconditionForse già presa @sylvesterkaczmarek l’ha presa 74 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Tutte le issue di nasa/CryptoLib
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
python-pillow/Pillow#10590 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
CCExtractor/ccextractor#2478 ·
I maintainer di solito rispondono entro 7 giorni
-
增加kmod-nft-queueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ESPresense/ESPresense#2680 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenPrinting/cups#1828 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno