Mbed-TLS / mbedtls

An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
https://www.trustedfirmware.org/projects/mbed-tls/
Other
5.02k stars 2.5k forks source link

psasim-server: add function to reset operations slots #9280

Closed valeriosetti closed 1 week ago

valeriosetti commented 1 week ago

Description

This PR is an extract from https://github.com/Mbed-TLS/mbedtls/pull/9237 in order to split different topics in different PRs.

When the client disconnects the server can clean operations slots so that upcoming clients will not hit the maximum slot limit (at least it's very unlikely to happen for normal clients).

PR checklist

tom-cosgrove-arm commented 1 week ago

As this PR only changes files under tests/psa-client-server/psasim/src/, and since the CI is green and the merge queue appeared to be stalled, I am merging this manually