Skip to content

Explicit uint32_t cast for crypto1 state calculations#95

Open
sublime-elephant wants to merge 2 commits intonfc-tools:masterfrom
sublime-elephant:master
Open

Explicit uint32_t cast for crypto1 state calculations#95
sublime-elephant wants to merge 2 commits intonfc-tools:masterfrom
sublime-elephant:master

Conversation

@sublime-elephant
Copy link

Platforms where the standard C int data-type is only 16 bits wide will fail initialising a correct Crypto1 state. Explicitly casting the keystream bit to 32 bits fixes this issue.

Platforms where the standard C int data-type is only 16 bits wide will fail initialising a correct Crypto1 state. Explicitly casting the keystream bit to 32 bits fixes this issue.
Explicit uint32_t cast for crypto1 state calculations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant