Skip to content

Conversation

@Jinbosh8
Copy link

@Jinbosh8 Jinbosh8 commented Nov 14, 2022

In current design of GCM encryption scheme, the memory space for gcm_state only gets freed at the end of gcm_memory(), which might have a potential risk of key leakage during a crash. A call of gcm_reset() was added to prevent this leakage.

Checklist

  • [ N/A] documentation is added or updated
  • [ N/A] tests are added or updated

Copy link
Member

@sjaeckel sjaeckel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks for reporting this

@sjaeckel sjaeckel merged commit 29986d0 into libtom:develop Nov 15, 2022
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.

2 participants