Fix typo in mbedtls_pk_can_do_ext() code documentation

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-05-17 11:56:55 +02:00
parent cec133a242
commit dab56ba2bd

View file

@ -288,7 +288,7 @@ int mbedtls_pk_can_do_ext( const mbedtls_pk_context *ctx, psa_algorithm_t alg )
psa_reset_key_attributes( &attributes ); psa_reset_key_attributes( &attributes );
/* /*
* Common case: the key alg & alg2 only allows alg. * Common case: the key alg or alg2 only allows alg.
* This will match PSA_ALG_RSA_PKCS1V15_CRYPT & PSA_ALG_IS_ECDH * This will match PSA_ALG_RSA_PKCS1V15_CRYPT & PSA_ALG_IS_ECDH
* directly. * directly.
* This would also match ECDSA/RSA_PKCS1V15_SIGN/RSA_PSS with * This would also match ECDSA/RSA_PKCS1V15_SIGN/RSA_PSS with