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 client-server build to all.sh #8963

Closed
gilles-peskine-arm opened this issue Mar 20, 2024 · 0 comments · Fixed by #9121
Closed

Add client-server build to all.sh #8963

gilles-peskine-arm opened this issue Mar 20, 2024 · 0 comments · Fixed by #9121
Assignees
Labels
component-test Test framework and CI scripts enhancement size-s Estimated task size: small (~2d)

Comments

@gilles-peskine-arm
Copy link
Contributor

gilles-peskine-arm commented Mar 20, 2024

Starting from the all.sh component created in #8962:

  1. In that component, build Mbed TLS twice, in separate build directories:
    • Once with the configuration of component_build_full_psa_crypto_client_without_crypto_provider, but with some potentially problematic features disabled:
      • Disable MBEDTLS_X509_RSASSA_PSS_SUPPORT and the RSA key exchanges.
      • Disable restartable ECC.
      • Disable multithreading.
    • once with the configuration of component_build_psa_crypto_spm (and that component can be removed).
  2. Run psasim with a server linked with libmbedcrypto with the SPM configuration, and a client linked with libmbed{crypto,x509,tls}.
  3. Implement psa_crypto_init on the client to open a connection to the server, and mbedtls_psa_crypto_free to close the connection. The server doesn't need to maintain any client state (that will come later).

Prerequisites: #8962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-test Test framework and CI scripts enhancement size-s Estimated task size: small (~2d)
Projects
Status: PSA client-server testing
Development

Successfully merging a pull request may close this issue.

2 participants