-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osnma: refactor handling of chain in force in key storage
This uses a different approach to keeping track of the key in force in the key storage. The new approach fixes failures in the OSNMA test vector Chain Revocation Step 2. Instead of keeping track of which is the key of the chain in force, we keep track of what is the CID of the chain in force. This simplifies keeping track of the start of applicability, as we can simply set it whenever the CID changes value. It also handles the case in Chain Revocation Step 2, when the DSM-PKR is transmitting a KROOT for a chain that will be in force. In that case, the receiver never gets a KROOT from the first chain, and so it would never set the start of applicability for the key of the new chain correctly.
- Loading branch information
1 parent
aa1f277
commit 2ed7680
Showing
1 changed file
with
30 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters