Skip to content

Commit

Permalink
generate all
Browse files Browse the repository at this point in the history
  • Loading branch information
RReichert committed Aug 15, 2024
1 parent f6eb09c commit e3f0f1a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion c/include/libsbp/signing/MSG_AES_CMAC_SIGNATURE.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ typedef struct {
u8 certificate_id[SBP_MSG_AES_CMAC_SIGNATURE_CERTIFICATE_ID_MAX];

/**
* Signature
* Signature (CMAC tag value)
*/
u8 signature[SBP_MSG_AES_CMAC_SIGNATURE_SIGNATURE_MAX];

Expand Down
Binary file modified docs/sbp.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion haskell/src/SwiftNav/SBP/Signing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ data MsgAesCmacSignature = MsgAesCmacSignature
, _msgAesCmacSignature_certificate_id :: ![Word8]
-- ^ The last 4 bytes of the certificate's SHA-1 fingerprint
, _msgAesCmacSignature_signature :: ![Word8]
-- ^ Signature
-- ^ Signature (CMAC tag value)
, _msgAesCmacSignature_flags :: !Word8
-- ^ Describes the format of the 'signed messages' field below.
, _msgAesCmacSignature_signed_messages :: ![Word8]
Expand Down
2 changes: 1 addition & 1 deletion java/src/com/swiftnav/sbp/signing/MsgAesCmacSignature.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class MsgAesCmacSignature extends SBPMessage {
/** The last 4 bytes of the certificate's SHA-1 fingerprint */
public int[] certificate_id;

/** Signature */
/** Signature (CMAC tag value) */
public int[] signature;

/** Describes the format of the 'signed messages' field below. */
Expand Down
2 changes: 1 addition & 1 deletion javascript/sbp/signing.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ MsgCertificateChainDep.prototype.fieldSpec.push(['signature', 'array', 'writeUIn
* after 256 messages. Upon connection, the value of the counter may not initially
* be zero.
* @field certificate_id array The last 4 bytes of the certificate's SHA-1 fingerprint
* @field signature array Signature
* @field signature array Signature (CMAC tag value)
* @field flags number (unsigned 8-bit int, 1 byte) Describes the format of the 'signed messages' field below.
* @field signed_messages array CRCs of the messages covered by this signature. For Skylark, which delivers SBP
* messages wrapped in Swift's proprietary RTCM message, these are the 24-bit CRCs
Expand Down
2 changes: 1 addition & 1 deletion kaitai/ksy/signing.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ types:
repeat-expr: 4
- id: signature
doc: |
Signature
Signature (CMAC tag value)
type: u1
repeat: expr
repeat-expr: 16
Expand Down
2 changes: 1 addition & 1 deletion python/sbp/signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class MsgAesCmacSignature(SBP):
certificate_id : array
The last 4 bytes of the certificate's SHA-1 fingerprint
signature : array
Signature
Signature (CMAC tag value)
flags : int
Describes the format of the 'signed messages' field below.
signed_messages : array
Expand Down
2 changes: 1 addition & 1 deletion rust/sbp/src/messages/signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub mod msg_aes_cmac_signature {
/// The last 4 bytes of the certificate's SHA-1 fingerprint
#[cfg_attr(feature = "serde", serde(rename = "certificate_id"))]
pub certificate_id: [u8; 4],
/// Signature
/// Signature (CMAC tag value)
#[cfg_attr(feature = "serde", serde(rename = "signature"))]
pub signature: [u8; 16],
/// Describes the format of the 'signed messages' field below.
Expand Down

0 comments on commit e3f0f1a

Please sign in to comment.