mbedtls/library
Valerio Setti 5922cb9309 pkparse: keep legacy PK error codes when RSA key parsing fails
This helps in reverting the changes to test_suite_x509parse.data
when the RSA key parsing fails.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2024-02-02 09:21:25 +01:00
..
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
aes.c Use optimised counter increment in AES-CTR and CTR-DRBG 2024-01-15 11:45:01 +00:00
aesce.c Remove redundant check 2023-11-30 11:02:03 +00:00
aesce.h Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 11:01:50 +00:00
aesni.c Disable automatic setting of clang target flags on old clang 2023-12-19 13:11:47 +00:00
aesni.h Merge pull request #8124 from yanrayw/support_cipher_encrypt_only 2023-11-23 17:43:00 +00:00
alignment.h Add MBEDTLS_BSWAPxx intrinsics for IAR 2023-12-14 12:08:57 +00:00
aria.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
asn1parse.c update headers 2023-11-02 19:47:20 +00:00
asn1write.c update headers 2023-11-02 19:47:20 +00:00
base64.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
base64_internal.h update headers 2023-11-02 19:47:20 +00:00
bignum.c Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
bignum_core.c update headers 2023-11-02 19:47:20 +00:00
bignum_core.h update headers 2023-11-02 19:47:20 +00:00
bignum_mod.c update headers 2023-11-02 19:47:20 +00:00
bignum_mod.h update headers 2023-11-02 19:47:20 +00:00
bignum_mod_raw.c update headers 2023-11-02 19:47:20 +00:00
bignum_mod_raw.h update headers 2023-11-02 19:47:20 +00:00
bignum_mod_raw_invasive.h update headers 2023-11-02 19:47:20 +00:00
block_cipher.c psa: add key_type as input parameter of psa_can_do_cipher() 2023-12-28 18:33:17 +01:00
block_cipher_internal.h block_cipher: add encrypt() 2023-11-10 12:14:53 +01:00
bn_mul.h update headers 2023-11-02 19:47:20 +00:00
camellia.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
ccm.c Merge pull request #8632 from valeriosetti/issue8598 2024-01-08 08:07:53 +00:00
chacha20.c update headers 2023-11-02 19:47:20 +00:00
chachapoly.c update headers 2023-11-02 19:47:20 +00:00
check_crypto_config.h update headers 2023-11-02 19:47:20 +00:00
cipher.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
cipher_wrap.c cipher_wrap: fix guards for some CCM/GCM functions 2024-01-02 17:20:58 +01:00
cipher_wrap.h Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
cmac.c update headers 2023-11-02 19:47:20 +00:00
CMakeLists.txt Start adding internal module block_cipher.c 2023-11-10 11:21:17 +01:00
common.h tidy up macros in mbedtls_xor 2023-11-30 09:35:14 +00:00
constant_time.c Remove unused code 2023-12-01 13:53:45 +00:00
constant_time_impl.h Merge pull request #8515 from mschulz-at-hilscher/fixes/pragma-error-gcc452 2023-11-27 11:28:30 +00:00
constant_time_internal.h update headers 2023-11-02 19:47:20 +00:00
ctr.h Add header guards 2024-01-17 11:06:31 +00:00
ctr_drbg.c Fix error in ctr_drbg 2024-01-16 17:28:25 +00:00
debug.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
des.c update headers 2023-11-02 19:47:20 +00:00
dhm.c Use MBEDTLS_GET_UINTxx_BE macro 2023-11-21 17:09:46 +00:00
ecdh.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
ecdsa.c update headers 2023-11-02 19:47:20 +00:00
ecjpake.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
ecp.c Make input parameter const 2024-01-02 17:56:54 +01:00
ecp_curves.c update headers 2023-11-02 19:47:20 +00:00
ecp_curves_new.c update headers 2023-11-02 19:47:20 +00:00
ecp_internal_alt.h update headers 2023-11-02 19:47:20 +00:00
ecp_invasive.h update headers 2023-11-02 19:47:20 +00:00
entropy.c update headers 2023-11-02 19:47:20 +00:00
entropy_poll.c Fix types in entropy_poll.c 2023-11-21 17:09:46 +00:00
entropy_poll.h update headers 2023-11-02 19:47:20 +00:00
gcm.c Make gcm counter increment more efficient 2024-01-15 11:45:01 +00:00
hkdf.c update headers 2023-11-02 19:47:20 +00:00
hmac_drbg.c update headers 2023-11-02 19:47:20 +00:00
lmots.c Use standard byte conversion fns in lms 2023-11-21 17:09:46 +00:00
lmots.h Use standard byte conversion fns in lms 2023-11-21 17:09:46 +00:00
lms.c Use standard byte conversion fns in lms 2023-11-21 17:09:46 +00:00
Makefile Start adding internal module block_cipher.c 2023-11-10 11:21:17 +01:00
md.c update headers 2023-11-02 19:47:20 +00:00
md5.c update headers 2023-11-02 19:47:20 +00:00
md_psa.h md: move PSA conversion functions from md_psa.h to psa_util.h 2024-01-02 13:26:04 +01:00
md_wrap.h update headers 2023-11-02 19:47:20 +00:00
memory_buffer_alloc.c update headers 2023-11-02 19:47:20 +00:00
mps_common.h Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_error.h Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_reader.c Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_reader.h Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_trace.c Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_trace.h Standardise some more headers 2023-11-03 12:15:12 +00:00
net_sockets.c Avoid use of ip_len as it clashes with a macro in AIX system headers 2023-12-08 21:51:15 +00:00
nist_kw.c update headers 2023-11-02 19:47:20 +00:00
oid.c oid/pkparse: add missing guards for PKCS[5/12] functions when !CIPHER_C 2023-12-29 16:35:58 +01:00
padlock.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
padlock.h update headers 2023-11-02 19:47:20 +00:00
pem.c Revert "pem: auto add newlines to header/footer in mbedtls_pem_write_buffer()" 2023-12-19 07:48:38 +01:00
pk.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
pk_internal.h psa: remove bits_is_sloppy parameter from mbedtls_ecc_group_from_psa() 2024-01-09 13:41:52 +01:00
pk_wrap.c rsa: rename parse/write functions in order to follow the standard format 2024-02-01 17:00:29 +01:00
pk_wrap.h pk_wrap: remove last references to MBEDTLS_PSA_CRYPTO_C 2023-12-20 12:59:57 +02:00
pkcs5.c pkcs[5/12]: add CIPHER_C for [en/de]crypting functions 2023-12-21 16:39:04 +01:00
pkcs7.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
pkcs12.c pkcs[5/12]: add CIPHER_C for [en/de]crypting functions 2023-12-21 16:39:04 +01:00
pkparse.c pkparse: keep legacy PK error codes when RSA key parsing fails 2024-02-02 09:21:25 +01:00
pkwrite.c rsa: rename parse/write functions in order to follow the standard format 2024-02-01 17:00:29 +01:00
pkwrite.h update headers 2023-11-02 19:47:20 +00:00
platform.c update headers 2023-11-02 19:47:20 +00:00
platform_util.c Shortening a comment line 2023-12-01 12:23:26 +01:00
poly1305.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto.c Merge pull request #8666 from valeriosetti/issue8340 2024-01-18 13:58:55 +00:00
psa_crypto_aead.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_aead.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_cipher.c Merge pull request #8444 from Mbed-TLS/cvv-code-size 2023-11-06 12:50:37 +00:00
psa_crypto_cipher.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_client.c Error out when get domain_parameters is not supported 2023-12-08 17:30:26 +08:00
psa_crypto_core.h Document the thread safety of the primitive key slot functions 2024-01-18 10:54:42 +00:00
psa_crypto_core_common.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_driver_wrappers_no_static.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ecp.c Merge pull request #8666 from valeriosetti/issue8340 2024-01-18 13:58:55 +00:00
psa_crypto_ecp.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ffdh.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ffdh.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_hash.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_hash.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_invasive.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_its.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_mac.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_mac.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_pake.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_pake.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_random_impl.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_rsa.c rsa: simplify mbedtls_rsa_parse_pubkey() input parameters 2024-02-01 17:19:37 +01:00
psa_crypto_rsa.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_se.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_se.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_slot_management.c Move key_slot_mutex to threading.h 2024-01-19 12:59:28 +00:00
psa_crypto_slot_management.h Add empty line in register_read comment 2024-01-19 13:02:58 +00:00
psa_crypto_storage.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_storage.h update headers 2023-11-02 19:47:20 +00:00
psa_its_file.c Use MBEDTLS_GET_UINTxx_BE macro 2023-11-21 17:09:46 +00:00
psa_util.c psa_util: rename parameter of mbedtls_ecc_group_from_psa 2024-01-09 13:41:53 +01:00
psa_util_internal.h psa_util: add error translations from PSA to cipher 2023-12-14 18:08:14 +01:00
ripemd160.c update headers 2023-11-02 19:47:20 +00:00
rsa.c rsa: simplify mbedtls_rsa_parse_pubkey() input parameters 2024-02-01 17:19:37 +01:00
rsa_alt_helpers.c update headers 2023-11-02 19:47:20 +00:00
rsa_alt_helpers.h rsa: introduce rsa_internal_rsassa_pss_sign_no_mode_check() 2023-12-20 12:59:57 +02:00
rsa_internal.h rsa_internal: update documentation for parse/write functions 2024-02-01 17:35:56 +01:00
sha1.c update headers 2023-11-02 19:47:20 +00:00
sha3.c update headers 2023-11-02 19:47:20 +00:00
sha256.c Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
sha512.c Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
ssl_cache.c update headers 2023-11-02 19:47:20 +00:00
ssl_ciphersuites.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
ssl_client.c Consistent renaming 2023-12-08 10:01:58 +08:00
ssl_client.h update headers 2023-11-02 19:47:20 +00:00
ssl_cookie.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
ssl_debug_helpers.h update headers 2023-11-02 19:47:20 +00:00
ssl_misc.h Merge pull request #8526 from yanrayw/issue/7011/send_record_size_limit_ext 2024-01-12 13:39:15 +00:00
ssl_msg.c Revert back checking on handshake messages length 2023-12-14 16:23:25 +00:00
ssl_ticket.c Fix possible integer overflows before widening 2023-12-06 17:22:53 +00:00
ssl_tls.c Merge pull request #8666 from valeriosetti/issue8340 2024-01-18 13:58:55 +00:00
ssl_tls12_client.c Merge pull request #8579 from valeriosetti/issue7995 2023-12-20 08:20:10 +00:00
ssl_tls12_server.c Merge pull request #8633 from Wenxing-hou/clear_clienthello_comment 2023-12-21 12:09:23 +00:00
ssl_tls13_client.c Merge pull request #8666 from valeriosetti/issue8340 2024-01-18 13:58:55 +00:00
ssl_tls13_generic.c Merge pull request #8666 from valeriosetti/issue8340 2024-01-18 13:58:55 +00:00
ssl_tls13_invasive.h update headers 2023-11-02 19:47:20 +00:00
ssl_tls13_keys.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
ssl_tls13_keys.h Fix overlooked files 2023-11-02 20:43:00 +00:00
ssl_tls13_server.c Merge pull request #8666 from valeriosetti/issue8340 2024-01-18 13:58:55 +00:00
threading.c Fix typo 2024-01-19 13:45:19 +00:00
timing.c update headers 2023-11-02 19:47:20 +00:00
version.c update headers 2023-11-02 19:47:20 +00:00
x509.c update headers 2023-11-02 19:47:20 +00:00
x509_create.c Update fix to be more platform-independent 2024-01-09 16:41:10 +01:00
x509_crl.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509_crt.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
x509_csr.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509write.c update headers 2023-11-02 19:47:20 +00:00
x509write_crt.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
x509write_csr.c library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00