mbedtls/include/mbedtls
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
..
aes.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
aria.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
asn1.h Fix additional misspellings found by codespell 2022-05-11 21:25:54 +01:00
asn1write.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
base64.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
bignum.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
build_info.h Force usage of MBEDTLS_PK_WRITE_C when PK_C and USE_PSA_CRYPTO is used 2022-01-19 12:34:30 -05:00
camellia.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
ccm.h Remove invalid comments in CCM API 2021-10-27 11:25:08 +02:00
chacha20.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
chachapoly.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
check_config.h Fix typos in documentation and constants with typo finding tool 2022-05-18 14:15:33 -04:00
cipher.h Merge pull request #5813 from mprse/deprecate_mbedtls_cipher_setup_psa 2022-05-31 10:56:52 +02:00
cmac.h Reword documentation of CMAC operations 2021-12-06 18:58:02 +00:00
compat-2.x.h Code review fixes 2021-06-18 12:59:38 +02:00
config_psa.h Merge pull request #5644 from gilles-peskine-arm/psa-storage-format-test-exercise 2022-04-28 18:20:02 +02:00
constant_time.h Fix documentation and comments 2021-11-03 16:13:32 +01:00
ctr_drbg.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
debug.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
des.h Change DES and AES functions to MBEDTLS_CHECK_RETURN_TYPICAL 2021-09-27 19:15:56 +02:00
dhm.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
ecdh.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
ecdsa.h Merge pull request #4694 from gilles-peskine-arm/out_size-3.0 2021-06-29 09:43:17 +02:00
ecjpake.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
ecp.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
entropy.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
error.h Change error code for MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL. 2021-10-22 10:33:32 +02:00
gcm.h Change error code for MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL. 2021-10-22 10:33:32 +02:00
hkdf.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
hmac_drbg.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
mbedtls_config.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
md.h Remove extra newline 2021-12-28 17:42:30 +01:00
md5.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
memory_buffer_alloc.h Merge pull request #5381 from mpg/benchmark-ecc-heap 2022-04-22 16:43:11 +02:00
net_sockets.h mbedtls_net_context: make fd public on Unix/POSIX platforms 2021-08-31 22:54:27 +02:00
nist_kw.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
oid.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
pem.h Add accessor to get buf from mbedtls_pem_context 2022-02-08 14:53:46 -05:00
pk.h Clarify warning about mbedtls_pk_ec/rsa() 2022-06-20 21:12:29 +02:00
pkcs5.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
pkcs12.h Documentation fixes 2021-11-30 15:37:49 +00:00
platform.h Do not include time.h without MBEDTLS_HAVE_TIME 2022-03-04 05:07:45 -05:00
platform_time.h doxygen: remove empty platform_time configuration section 2021-12-30 12:34:00 +01:00
platform_util.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
poly1305.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
private_access.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
psa_util.h fix various issues 2022-03-22 15:14:53 +08:00
ripemd160.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
rsa.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
sha1.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
sha256.h Add return info to sha256 docs 2021-10-22 22:05:10 +02:00
sha512.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
ssl.h fix state undeclare error 2022-05-31 15:06:04 +08:00
ssl_cache.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
ssl_ciphersuites.h mbedtls_ssl_ciphersuite_t min_tls_version,max_tls_version 2022-04-14 15:40:12 -04:00
ssl_cookie.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
ssl_ticket.h Use PSA in TLS ticket handling 2022-03-10 17:09:59 +01:00
threading.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
timing.h Add accessor for timing final delay 2022-03-21 15:26:19 +00:00
version.h Correct documentation references to Mbed TLS 2021-06-28 10:37:19 +01:00
x509.h doxygen: move addtogroup closures to include more elements 2021-12-30 12:33:31 +01:00
x509_crl.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
x509_crt.h Merge pull request #5887 from tom-daubney-arm/mbedtls_x509_crt_ext_types_accessor 2022-06-06 21:51:38 +01:00
x509_csr.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00