Skip to content

Fix incrementing function of gcm mode#1610

Open
Pencil-Yao wants to merge 1 commit intoguanzhi:masterfrom
Pencil-Yao:fix_gcm_incr
Open

Fix incrementing function of gcm mode#1610
Pencil-Yao wants to merge 1 commit intoguanzhi:masterfrom
Pencil-Yao:fix_gcm_incr

Conversation

@Pencil-Yao
Copy link

  • nist 800-38d specify inc32(X) as incrementing function in gctr.
  • inc32(X) means: The output of incrementing the right-most 32 bits
  • of the bit string X, regarded as the binary representation of an *integer, by 1 modulo 2s.

nist 800-38d 6.2 Incrementing Function & 6.5 GCTR Function

* nist 800-38d specify inc32(X) as incrementing function in gctr.
* inc32(X) means: The output of incrementing the right-most 32 bits
* of the bit string X, regarded as the binary representation of an
*integer, by 1 modulo 2s.
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