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

Move Parsec over to psa-crypto #186

Merged
merged 8 commits into from
Jun 22, 2020

Commits on Jun 19, 2020

  1. Fixed PKCS#11 provieder failing failed_created_key_should_be_removed …

    …test
    
    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    d426bd7 View commit details
    Browse the repository at this point in the history
  2. Move calls from C library to psa-crypto

    Parsec no longer calls mbedtls directly, it goes through the psa-crypto Rust interface to the library
    
    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    7b2ca72 View commit details
    Browse the repository at this point in the history
  3. Moved setup and drop calls to psa-crypto and removed all references t…

    …o psa_crypto_binding
    
    Now Parsec calls psa-crypto when initialising and dropping an mbedcrypto provider.
    Also Parsec no longer has references for the bdinging to the mbedtls C lib.
    
    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    a8847bf View commit details
    Browse the repository at this point in the history
  4. Removed unecessary build files

    Parsec now uses psa-crypto instead of interfacing directly with the C library.
    Therefore, the build files are no longer needed in Parsec.
    
    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    683f52d View commit details
    Browse the repository at this point in the history
  5. Tweaks to pass CI tests

    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    e1ab2b7 View commit details
    Browse the repository at this point in the history
  6. Tweaks for mbed_crypto:

    Rename use statement in key_management
    Removed mbed_crypto constants and relocated contents
    Modified random number generation for key IDs
    Moved from error! to format_error! for dependency crate errors
    Removed redundant init
    psa-crypto crate optional
    Removed uneccessary safety comment
    
    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    b7438a3 View commit details
    Browse the repository at this point in the history
  7. Update psa_crypto and parsec-interface dependencies

    Remove redundant comments
    Fix index MAX_ID for key ID gen
    
    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    d5b4be4 View commit details
    Browse the repository at this point in the history
  8. Added cmake to dockerfile for mbed_crypto and all-providers

    Signed-off-by: Samuel Bailey <[email protected]>
    sbailey-arm committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    186980a View commit details
    Browse the repository at this point in the history