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

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

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Commits on May 8, 2024

  1. Move to grep.

    egrep is deprecated.
    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    5edf1fa View commit details
    Browse the repository at this point in the history
  2. Make crypto_hash CT on DOIT.

    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    6a3da1a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20f1c51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a8da25 View commit details
    Browse the repository at this point in the history
  5. Fix chacha to use DOIT.

    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.
    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    92557ae View commit details
    Browse the repository at this point in the history
  6. Make crypto_stream DOIT.

    But at what cost?!?
    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    dd906fb View commit details
    Browse the repository at this point in the history
  7. Protect utility rotate functions with checks on the rotate amount.

    The rotate instruction just ignores these, but the ">>=" operators complain.
    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    8fbd90d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c3f5fb5 View commit details
    Browse the repository at this point in the history
  9. Add DOIT POPCNT.

    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    be794f3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4315ad5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f5c1a4c View commit details
    Browse the repository at this point in the history
  12. Make crypto_secretbox CT on DOIT.

    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).
    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    a28c27b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e874ab0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    27b5e77 View commit details
    Browse the repository at this point in the history
  15. Add WIP of benchmark plotting.

    J08nY committed May 8, 2024
    Configuration menu
    Copy the full SHA
    1b7cf84 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a1fa063 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Merge pull request #108 from J08nY/feature/doit

    Make libjade use DOIT instructions on secrets
    tfaoliveira-sb authored May 23, 2024
    Configuration menu
    Copy the full SHA
    5778485 View commit details
    Browse the repository at this point in the history