mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-22 19:52:58 +00:00
In the current test code, the object that is used as a public key in the certificate also contains a private key. However this is because of the way the stest code is built and does not demonstrate the API in a useful way. Use mbedtls_pk_check_pair, which is not what real-world code would do (since the private key would typically be in an external cryptoprocessor) but is a more representative placeholder.