Skip to content

Consolidate the list of header directories of TF-PSA-Crypto #674

@gilles-peskine-arm

Description

@gilles-peskine-arm

TF-PSA-Crypto has headers in several different directories with header files and the list can change (for example #652 adds drivers/pqcp/include). The list of header directories is present in a lot of different places in TF-PSA-Crypto, in mbedtls-framework and even in mbedtls. In #652 and its prerequisites, I had to add the new directory to:

  • Framework (accounting for Move psasim into framework mbedtls-framework#238 and a follow-up that I haven't written yet for psasim):
    psa-client-server/psasim/Makefile
    scripts/check_names.py
    scripts/mbedtls_framework/psa_storage.py
    scripts/test_psa_constant_names.py
    
  • mbedtls (I didn't actually do tests/Makefile, it's only for libtestdriver1):
    CMakeLists.txt
    tests/Makefile
    
  • TF-PSA-Crypto
    drivers/CMakeLists.txt
    drivers/pqcp/Makefile.inc
    

There are probably more places to update, which are not necessary yet for drivers/pqcp/include because the new include directory is not needed in the default config, only in the full config. These places might not currently list everest and p256-m either.

The goal of this issue is to have a single place, or at least a small number of places, that know the correct include path to build TF-PSA-Crypto or use it in place. Also, it is a requirement that this list is only present in the TF-PSA-Crypto repository, not in mbedtls or in the framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsize-sEstimated task size: small (~2d)

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions