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

Add sancus_untag functions and fix sancus_unwrap_with_key #37

Merged
merged 5 commits into from
Oct 20, 2021

Commits on Oct 15, 2021

  1. Configuration menu
    Copy the full SHA
    fa8466d View commit details
    Browse the repository at this point in the history
  2. move sancus_tag functions up, add sancus_untag functions

    I changed the order of these functions so that we could call 
    `sancus_untag_with_key` inside sancus_`unwrap_with_key`. To do so, the 
    former needs to be declared before the latter
    gianlu33 committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    7b26b35 View commit details
    Browse the repository at this point in the history
  3. add check on cipher_len inside sancus_unwrap_with_key

    Normally, `sancus_unwrap_with_key` always fails if cipher_len is zero. 
    This commit solves this issue by leveraging `sancus_untag_with_key`
    gianlu33 committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    666f960 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    368dc00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    840d532 View commit details
    Browse the repository at this point in the history