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 test helpers to framework repo #37

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

Commits on May 1, 2024

  1. Updated the PR template with new checkboxes

    Signed-off-by: Minos Galanakis <[email protected]>
    minosgalanakis committed May 1, 2024
    Configuration menu
    Copy the full SHA
    6e450c7 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Update .github/pull_request_template.md

    Co-authored-by: Janos Follath <[email protected]>
    Signed-off-by: minosgalanakis <[email protected]>
    minosgalanakis and yanesca committed May 3, 2024
    Configuration menu
    Copy the full SHA
    1deadf5 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Update .github/pull_request_template.md

    Removed discrete link referencing and updated text entries.
    
    Signed-off-by: Minos Galanakis <[email protected]>
    minosgalanakis committed May 20, 2024
    Configuration menu
    Copy the full SHA
    ad94717 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. psa: fix parameters' names of psa_key_derivation_verify_bytes()

    PSA buffers and their length should follow a pattern for which
    the latter is named after the former as <buffer_name>_length,
    but this was not the case for psa_key_derivation_verify_bytes().
    
    This makes life of crypto.h parsers (for automatic code generation)
    harder. This commit aims at solving this problem.
    
    Signed-off-by: Valerio Setti <[email protected]>
    valeriosetti committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    fc37c10 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Remove MBEDTLS_RSA_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    f47b66e View commit details
    Browse the repository at this point in the history
  2. Remove MBEDTLS_DHM_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    5edad7f View commit details
    Browse the repository at this point in the history
  3. Remove MBEDTLS_ECJPAKE_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    e647d8f View commit details
    Browse the repository at this point in the history
  4. Remove MBEDTLS_ECP_ALT and associated options

    Also removed are all options of the form
    MBEDTLS_ECP_XXX_ALT as well as
    MBEDTLS_ECP_NO_FALLBACK.
    
    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9da1769 View commit details
    Browse the repository at this point in the history
  5. Modify rsa_alt_helpers.h docs

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3507d76 View commit details
    Browse the repository at this point in the history
  6. Move some files to framework repository

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b744dd3 View commit details
    Browse the repository at this point in the history
  7. Update paths pointing to tests/data_files

    These now point to framework/data_files instead.
    
    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    dcf18dd View commit details
    Browse the repository at this point in the history
  8. Update directory-climbing path in context-info.sh

    A path containing '../../' was defined in relation to a directory in the
    tests/data_files directory. Since this has been moved to
    framework/data_files, we must update the path to refer correctly to the
    same location as before.
    
    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    4481698 View commit details
    Browse the repository at this point in the history
  9. Fix line-too-long in generate_tls13_compat_tests.py

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    eb8abda View commit details
    Browse the repository at this point in the history
  10. Correct redundant framework/../framework paths

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    441b66c View commit details
    Browse the repository at this point in the history
  11. Replace data_files path with variable in compat.sh

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    d178031 View commit details
    Browse the repository at this point in the history
  12. Use variable for data_files path in ssl-opt.sh

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    184c4f0 View commit details
    Browse the repository at this point in the history
  13. Simplify data_files path in compat test generation

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    661c088 View commit details
    Browse the repository at this point in the history
  14. Simplify path in audit-validity-dates.py

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    f36b7bc View commit details
    Browse the repository at this point in the history
  15. Move variable into generated bash

    Move the DATA_FILES_PATH_VAR variable into the generated bash rather
    than only variablising it in the python that generates the test script.
    
    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b51ed61 View commit details
    Browse the repository at this point in the history
  16. Update generated tls13 testcase script

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    0cbf8d5 View commit details
    Browse the repository at this point in the history
  17. Update framework submodule

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    53ce048 View commit details
    Browse the repository at this point in the history
  18. Merge pull request #9271 from tom-daubney-arm/remove_asymmetric_crypt…

    …o_alt_interface
    
    Remove asymmetric crypto alt interfaces
    ronald-cron-arm committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    1d25626 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Update .github/pull_request_template.md

    * Removed strike-out marks and added | symbols for selection.
    * Added framework tracking checkbox.
    
    Signed-off-by: Minos Galanakis <[email protected]>
    minosgalanakis committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    797e43b View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Update the framework submodule to the merge of PR18

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0ce9fa9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9249 from davidhorstmann-arm/move-test-data-files…

    …-to-framework
    
    Move test data files to framework
    ronald-cron-arm committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    fe3ad99 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Move crypto modules

    Move all the modules that constitute
    the crypto library as well as the
    associated headers to tf-psa-crypto/core
    for the PSA core modules and to
    tf-psa-crypto/drivers/builtin/src for
    the others.
    
    The common.h file is copied instead of
    being just moved as eventually they
    will be different in mbedtls and
    TF-PSA-Crypto. Some parts of it can be
    shared though but this will be done later,
    probably when adding the CMake build
    system in tf-psa-crypto.
    
    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    90ca414 View commit details
    Browse the repository at this point in the history
  2. Adjust build systems

    Adjust build systems such as we can built
    Mbed TLS in the default and full configuration.
    
    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    c29afb6 View commit details
    Browse the repository at this point in the history
  3. Adapt make cscope

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    52cd108 View commit details
    Browse the repository at this point in the history
  4. Adapt libtestdriver1 build

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    b2bdb78 View commit details
    Browse the repository at this point in the history
  5. Adapt check_names.py

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    6921d54 View commit details
    Browse the repository at this point in the history
  6. Adapt check-generated-files.sh

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    381247e View commit details
    Browse the repository at this point in the history
  7. Adapt list_internal_identifiers.py

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ad6d1ce View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    709bbf0 View commit details
    Browse the repository at this point in the history
  9. all.sh: Update paths to PSA core modules and objects

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    5b41a65 View commit details
    Browse the repository at this point in the history
  10. Adapt all.sh cleanup

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8280398 View commit details
    Browse the repository at this point in the history
  11. Move everest and p256-m

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1606cff View commit details
    Browse the repository at this point in the history
  12. Adjust build systems

    Adjust build systems such as we can built
    Mbed TLS in the default and full configuration.
    
    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    aef8cf3 View commit details
    Browse the repository at this point in the history
  13. Adapt make cscope

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    691f67f View commit details
    Browse the repository at this point in the history
  14. Adapt libtestdriver1 build

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    4cc77a1 View commit details
    Browse the repository at this point in the history
  15. Adapt check_names.py

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    0070d05 View commit details
    Browse the repository at this point in the history
  16. Adapt check_files.py

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    2f44756 View commit details
    Browse the repository at this point in the history
  17. Adapt code_style.py

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    2fd621e View commit details
    Browse the repository at this point in the history
  18. Adapt all.sh cleanup

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f37ff7f View commit details
    Browse the repository at this point in the history
  19. Adapt documentation

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    bdd8df8 View commit details
    Browse the repository at this point in the history
  20. all.sh: Move definitions of PSA core and builtin source paths

    Move the definitions of PSA core and builtin
    source paths to pre_initialize_variables
    where they are merged with the definition
    of the configuration file paths.
    
    Add the 3.6 case by the way as
    pre_initialize_variables is planned to
    be in the all.sh part that will land in
    mbedtls-framework at some point.
    
    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    9027955 View commit details
    Browse the repository at this point in the history
  21. common.make: Use dedicated env variable

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f250cf6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    080ab4f View commit details
    Browse the repository at this point in the history
  23. Update the framework submodule to the merge of PR32

    Signed-off-by: Ronald Cron <[email protected]>
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1992c91 View commit details
    Browse the repository at this point in the history
  24. Merge pull request #9340 from ronald-cron-arm/move-mbedtls-crypto-mod…

    …ules
    
    Move mbedtls crypto modules
    ronald-cron-arm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1004c9c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Remove MBEDTLS_POLY1305_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f7ca94a View commit details
    Browse the repository at this point in the history
  2. Remove MBEDTLS_CHACHAPOLY_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    af28a17 View commit details
    Browse the repository at this point in the history
  3. Remove MBEDTLS_CHACHA20_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f60ff02 View commit details
    Browse the repository at this point in the history
  4. Replace MBEDTLS_MD_CAN_SHA256 with PSA_WANT_ALG_SHA_256

    Signed-off-by: Elena Uziunaite <[email protected]>
    eleuzi01 committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    0916cd7 View commit details
    Browse the repository at this point in the history
  5. Replace MBEDTLS_MD_CAN_SHA256 in md.h, ssl.h, and entropy.h

    Signed-off-by: Elena Uziunaite <[email protected]>
    eleuzi01 committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4e6a368 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #9173 from eleuzi01/replace-mbedtls-md-can-sha256

    Replace MBEDTLS_MD_CAN_SHA256 with PSA_WANT_ALG_SHA_256
    paul-elliott-arm committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    095fa2c View commit details
    Browse the repository at this point in the history
  7. Update .github/pull_request_template.md

    Adjusted the framework linking line.
    
    Signed-off-by: Minos Galanakis <[email protected]>
    minosgalanakis committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    d53e889 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Replace MBEDTLS_MD_CAN_SHA3_224 with PSA_WANT_ALG_SHA3_224

    Signed-off-by: Elena Uziunaite <[email protected]>
    eleuzi01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    1e96705 View commit details
    Browse the repository at this point in the history
  2. Replace MBEDTLS_MD_CAN_SHA3_224 in md.h

    Signed-off-by: Elena Uziunaite <[email protected]>
    eleuzi01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9a8a9d3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #9080 from minosgalanakis/dev_fix_checkboxes

    PR-Template: Updated the PR template with new checkboxes
    gilles-peskine-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ac97c86 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #9211 from eleuzi01/replace-mbedtls-md-can-sha3-224

    Replace MBEDTLS_MD_CAN_SHA3_224 with PSA_WANT_ALG_SHA3_224
    gilles-peskine-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6a5278b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #9268 from tom-daubney-arm/remove_symmetric_crypto…

    …_alt_interface
    
    Remove symmetric crypto alt interface
    bensze01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3f2d9b6 View commit details
    Browse the repository at this point in the history
  6. Replace MBEDTLS_MD_CAN_SHA3_384 with PSA_WANT_ALG_SHA3_384

    Signed-off-by: Elena Uziunaite <[email protected]>
    eleuzi01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    db0421c View commit details
    Browse the repository at this point in the history
  7. Replace MBEDTLS_MD_CAN_SHA3_384 in md.h

    Signed-off-by: Elena Uziunaite <[email protected]>
    eleuzi01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    7a507d2 View commit details
    Browse the repository at this point in the history
  8. Remove MBEDTLS_AES_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4137609 View commit details
    Browse the repository at this point in the history
  9. Remove MBEDTLS_CCM_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    b4914cf View commit details
    Browse the repository at this point in the history
  10. Remove MBEDTLS_GCM_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c7cb810 View commit details
    Browse the repository at this point in the history
  11. Remove MBEDTLS_CAMELLIA_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    e9fe311 View commit details
    Browse the repository at this point in the history
  12. Remove MBEDTLS_ARIA_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    064f1df View commit details
    Browse the repository at this point in the history
  13. Remove MBEDTLS_DES_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a9ea6f8 View commit details
    Browse the repository at this point in the history
  14. Remove MBEDTLS_NIST_KW_ALT

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    25e2be1 View commit details
    Browse the repository at this point in the history
  15. Remove MBEDTLS_TEST_HAVE_ALT_GCM

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ebeef15 View commit details
    Browse the repository at this point in the history
  16. Improved AES comment

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    478efd7 View commit details
    Browse the repository at this point in the history
  17. Restore config option

    Restore previously removed option but with a more
    relevant name.
    
    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    356309f View commit details
    Browse the repository at this point in the history
  18. Update comment in further places

    Signed-off-by: Thomas Daubney <[email protected]>
    tom-daubney-arm committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    53377f1 View commit details
    Browse the repository at this point in the history
  19. Merge pull request #9213 from eleuzi01/replace-mbedtls-md-can-sha3-384

    Replace MBEDTLS_MD_CAN_SHA3_384 with PSA_WANT_ALG_SHA3_384
    bensze01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3f40127 View commit details
    Browse the repository at this point in the history
  20. Merge pull request #9259 from tom-daubney-arm/remove_aes-like_alt_int…

    …erface
    
    Remove AES-like alt interface
    bensze01 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f974bff View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Merge pull request #9308 from valeriosetti/fix-psa_key_derivation_ver…

    …ify_bytes
    
    psa: fix parameters' names of psa_key_derivation_verify_bytes()
    gilles-peskine-arm committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    5f616e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Move some files to framework repository

    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    eff4db6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3aae68 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Update references to tests/src

    Update paths in generating scripts that refer to tests/src. These will
    now generate files instead in framework/tests/src (relative to the
    main repo root directory).
    
    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9819b04 View commit details
    Browse the repository at this point in the history
  2. Update comment references to test helpers

    Update references to tests/src and tests/include in a code comment now
    that these live in the framework.
    
    Signed-off-by: David Horstmann <[email protected]>
    davidhorstmann-arm committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    bde4a56 View commit details
    Browse the repository at this point in the history