Skip to content

Commit

Permalink
Update missed overwritten with zeros (#71)
Browse files Browse the repository at this point in the history
Part of #60.
  • Loading branch information
samuel-lucas6 authored Dec 11, 2024
1 parent 3a1dfaa commit aa67438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-irtf-cfrg-aegis-aead.md
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ The `Decrypt` function decrypts a ciphertext, verifies that the authentication t

Security:

- If tag verification fails, the decrypted message and wrong message authentication tag MUST NOT be given as output. The decrypted message MUST be overwritten with zeros.
- If tag verification fails, the decrypted message and wrong message authentication tag MUST NOT be given as output. The decrypted message MUST be overwritten with zeros before being returned.
- The comparison of the input `tag` with the `expected_tag` MUST be done in constant time.

Inputs:
Expand Down

0 comments on commit aa67438

Please sign in to comment.