Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incrementing function of gcm mode #1610

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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