Skip to content

Commit

Permalink
navmessage: update MIN_AUTHBITS to 40
Browse files Browse the repository at this point in the history
This is the current recommended value as of 2024-01-15.
  • Loading branch information
daniestevez committed Jan 17, 2024
1 parent bf7a85c commit fc812e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/navmessage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ use bitvec::prelude::*;
use generic_array::GenericArray;
use typenum::Unsigned;

// Minimum equivalent tag for authentication. Currently defined as 80 bits
const MIN_AUTHBITS: u16 = 80;
// Minimum equivalent tag for authentication. Initially defined as 80 bits.
// Changed to 40 bits as of 2024-01-15:
// https://www.gsc-europa.eu/news/updated-documentation-and-cryptographic-material-in-preparation-for-the-galileo-osnma-initial
const MIN_AUTHBITS: u16 = 40;

/// Navigation message store.
///
Expand Down

0 comments on commit fc812e6

Please sign in to comment.