Skip to content

Make libjade use DOIT instructions on secrets (p2)#123

Open
tfaoliveira-sb wants to merge 17 commits into
mainfrom
feature/doit
Open

Make libjade use DOIT instructions on secrets (p2)#123
tfaoliveira-sb wants to merge 17 commits into
mainfrom
feature/doit

Conversation

@tfaoliveira-sb

Copy link
Copy Markdown
Contributor

Second part of: #108

J08nY and others added 17 commits May 8, 2024 15:23
egrep is deprecated.
This spills some more registers to the stack in the reference chacha core. This comes at a significant performance cost. Further experimentation should be done with register packing instead.
But at what cost?!?
The rotate instruction just ignores these, but the ">>=" operators complain.
Fix xsalsa20poly1305 by swapping its xsalsa20 with the DOIT one.

Adds declassifies into xsalsa20poly1305.
This declassifies the result of tag verification, which leaks via
a branch (decryption is not done if tag does not verify).
Make libjade use DOIT instructions on secrets
@tfaoliveira tfaoliveira force-pushed the main branch 2 times, most recently from 51d7c2f to 68a9144 Compare August 8, 2024 19: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.

2 participants