mbedtls/include/mbedtls
Gilles Peskine 1c7ff7ea53 mbedtls_ecp_write_key: document and test smaller output buffer
Document and test the current behavior, even if it is weird:

* For Weierstrass keys, the error is MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL,
  not MBEDTLS_ERR_ECP_BUFFER_TOO_SMALL.
* For Weierstrass keys, a smaller output buffer is ok if the output fits.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-19 13:49:45 +01:00
..
aes.h
aria.h
asn1.h asn1: use the new symbol to guard dependencies of ECDSA conversion functions 2024-01-24 16:26:35 +01:00
asn1write.h asn1: use the new symbol to guard dependencies of ECDSA conversion functions 2024-01-24 16:26:35 +01:00
base64.h
bignum.h
block_cipher.h
build_info.h Merge pull request #1158 from daverodgman/mbedtls-3.5.2rc 2024-01-25 12:22:54 +00:00
camellia.h
ccm.h
chacha20.h
chachapoly.h
check_config.h check_config: add missing dependency check for MBEDTLS_PK_WRITE_C 2024-02-14 16:00:35 +00:00
cipher.h lib: remove NULL pointer checks performed with MBEDTLS_INTERNAL_VALIDATE[_RET] 2024-01-29 12:00:15 +01:00
cmac.h
compat-2.x.h
config_adjust_legacy_crypto.h Merge pull request #8802 from mpg/adjust-vs-check 2024-02-13 08:45:18 +00:00
config_adjust_legacy_from_psa.h Merge pull request #8740 from valeriosetti/issue8647 2024-02-08 08:35:42 +00:00
config_adjust_psa_from_legacy.h config_adjust: fix adjustments between legacy and PSA 2024-01-17 15:56:26 +01:00
config_adjust_psa_superset_legacy.h
config_adjust_ssl.h Add MBEDTLS_SSL_RECORD_SIZE_LIMIT to config_adjust_ssl.h 2024-01-10 16:17:28 +00:00
config_adjust_x509.h
config_psa.h
constant_time.h
ctr_drbg.h
debug.h debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
des.h
dhm.h
ecdh.h
ecdsa.h
ecjpake.h
ecp.h mbedtls_ecp_write_key: document and test smaller output buffer 2024-02-19 13:49:45 +01:00
entropy.h
error.h
gcm.h
hkdf.h
hmac_drbg.h
lms.h
mbedtls_config.h check_config: add missing dependency check for MBEDTLS_PK_WRITE_C 2024-02-14 16:00:35 +00:00
md5.h
md.h
memory_buffer_alloc.h
net_sockets.h
nist_kw.h
oid.h Merge remote-tracking branch 'upstream/development' into pkcs5_aes_new 2024-02-08 14:26:29 +00:00
pem.h
pk.h pk: remove duplicate define of MBEDTLS_PK_HAVE_ECC_KEYS 2024-02-14 15:56:02 +00:00
pkcs5.h
pkcs7.h x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
pkcs12.h
platform_time.h
platform_util.h platform_util: remove declarations of MBEDTLS_INTERNAL_VALIDATE[_RET]() 2024-01-29 10:19:52 +01:00
platform.h
poly1305.h
private_access.h
psa_util.h psa_util: update documentation for mbedtls_ecdsa_raw_to_der() 2024-02-07 15:03:33 +01:00
ripemd160.h
rsa.h New function mbedtls_rsa_get_bitlen() 2024-02-12 11:23:05 +01:00
sha1.h
sha3.h
sha256.h
sha512.h
ssl_cache.h
ssl_ciphersuites.h ssl_ciphersuites: move internal functions declarations to a private header 2024-01-18 15:08:28 +01:00
ssl_cookie.h
ssl_ticket.h
ssl.h tls13: cli: Refine early data status 2024-02-06 16:43:33 +01:00
threading.h Move key_slot_mutex to threading.h 2024-01-19 12:59:28 +00:00
timing.h
version.h
x509_crl.h
x509_crt.h
x509_csr.h
x509.h x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00