Skip to content

Wrong start bit for auth info signal #833

@Patryk-97

Description

@Patryk-97

Since auth info/freshness signal is encoded in Motorola byte order format then start bit should indicate to most significant bit. But in the code start bit points to least significant bit:

start_bit = int(ipdu_length, 0)*8 + int(freshness_tx_length, 0) + int(auth_tx_length, 0) - 8,

start_bit = int(ipdu_length, 0)*8 + int(freshness_tx_length, 0) - 8,

@xRowe are you sure it's correct?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions