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

Crypto instructions assume pointers are 2-byte aligned #1

Open
jovanbulck opened this issue Jun 28, 2017 · 0 comments
Open

Crypto instructions assume pointers are 2-byte aligned #1

jovanbulck opened this issue Jun 28, 2017 · 0 comments
Labels

Comments

@jovanbulck
Copy link
Member

From @JobNoorman

This causes the output (cipher and tag) to be shifted by one byte if they are not aligned. This should either be fixed or just fail right away.

The length of the input should also be a multiple of two. If not, one byte is silently appended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant