mbedtls/include
Manuel Pégourié-Gonnard 1c91b0c434 Clarify warning about mbedtls_pk_ec/rsa()
The previous wording "ensure it holds an XXX" context did not mean
anything without looking at the source.

Looking at the source, the criterion is:
- for mbedtls_pk_rsa(), that the info structure uses rsa_alloc_wrap;
- for mbedtls_pk_ec(), that it uses eckey_alloc_wrap or
ecdsa_alloc_wrap, since mbedtls_ecdsa_context is a typedef for
mbedtls_ecp_keypair. (Note that our test code uses mbedtls_pk_ec() on
contexts of type MBEDTLS_PK_ECDSA.)

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-06-20 21:12:29 +02:00
..
mbedtls Clarify warning about mbedtls_pk_ec/rsa() 2022-06-20 21:12:29 +02:00
psa Merge pull request #5860 from superna9999/4745-psa-jpake-api-fixes 2022-05-31 08:27:32 +01:00
.gitignore
CMakeLists.txt Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00