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

Check for single-block encrypted diversifier #1372

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

AaronFeickert
Copy link
Contributor

PR intention

Checks that encrypted diversifiers occupy only a single AES block.

Code changes brief

Encrypted diversifiers should only ever occupy a single block. This PR adds a low-level check for this during decryption, and throws an error if needed.

@reubenyap reubenyap merged commit 78e7d1e into firoorg:master Dec 19, 2023
5 checks passed
@AaronFeickert AaronFeickert deleted the diversifier-decrypt-size branch December 19, 2023 14:43
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.

4 participants