Skip to content

chacha20: Reorder MAC verification and decryption process - #254

Open
matbech wants to merge 1 commit into
utelle:mainfrom
matbech:patch-1
Open

chacha20: Reorder MAC verification and decryption process#254
matbech wants to merge 1 commit into
utelle:mainfrom
matbech:patch-1

Conversation

@matbech

@matbech matbech commented Sep 3, 2026

Copy link
Copy Markdown

Description

Refactor decryption logic to verify MAC before decrypting data. In addition, it removes the unused allzero variable and chacha20_ismemset check.

Problem Statement

  • verify MAC before decrypting data
  • remove unused allzero variable and check

Type of Change

Please select the type of change:

  • Refactor

Checklist

  • I have independently verified the issue
  • I am not submitting unverified or speculative changes
  • I understand that AI-assisted changes must be reviewed by a human before submission

Refactor decryption logic to verify MAC before decrypting data.
In addition, it removes the unused allzero variable and chacha20_ismemset check.
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