Skip to content

Conversation

@Ramblurr
Copy link

@Ramblurr Ramblurr commented Jan 6, 2026

This patch updates libaegis.h to support libaegis 0.9.0 API.

libaegis 0.9.0
simplified the incremental encryption API by removing the clen_max and
written output parameters from state_encrypt_update and
state_encrypt_final functions.

Changes:

  • aegis128l_state_encrypt_update: removed clen_max and written parameters
  • aegis128l_state_encrypt_final: removed clen_max and written parameters, return TAG_SIZE directly
  • aegis256_state_encrypt_update: removed clen_max and written parameters
  • aegis256_state_encrypt_final: removed clen_max and written parameters, return TAG_SIZE directly

fixes #583

@kazuho
Copy link
Member

kazuho commented Jan 7, 2026

Thank you for the fix! The tests are failing now due to the CI image containing an old version of libaegis. I will update the image and see how it goes.

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.

libaegis compilation failures dues to 0.9.0 API change

2 participants