Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
dc82fa6
Keep only the X.509 part from the Changelog
mpg May 28, 2025
f5a63d1
Fix invalid test data by aligning with 3.6
mpg Jun 10, 2025
b1d3e2e
Merge pull request #9634 from gabor-mezei-arm/9144_update_depends.py_…
ronald-cron-arm Jun 13, 2025
3a21cdf
Merge pull request #1354 from mpg/fix-asn1-store-named-data-null-dere…
mpg Jun 13, 2025
d177e3f
Merge pull request #1356 from Mbed-TLS/bugfix_1351_1352_1353_lms_drivers
davidhorstmann-arm Jun 13, 2025
48552b6
Merge pull request #10187 from valeriosetti/ecp-restartable-development
mpg Jun 16, 2025
3de417f
scripts: generate_visualc_files.pl: prepare for Everest headers reloc…
valeriosetti Jun 16, 2025
0815c67
programs: pkey: Use tf-psa-crypto/build_info.h
ronald-cron-arm Apr 12, 2025
a3b562a
programs: test: Let zeroize be an Mbed TLS test program
ronald-cron-arm Jun 16, 2025
653a86d
CMakeLists: prepare for Everest headers relocation
valeriosetti Jun 16, 2025
3150913
Revert "update framework submodule to pull in everest changes"
valeriosetti Jun 16, 2025
e4960bc
framework: update reference
valeriosetti Jun 16, 2025
d1e4ccf
cmake: Fix library order
ronald-cron-arm Jun 16, 2025
26893d9
Revert "CMakeLists: prepare for Everest headers relocation"
valeriosetti Jun 17, 2025
f5e27fa
Revert "update further everest paths"
valeriosetti Jun 17, 2025
2d7ded6
scripts: generate_visualc_files: fix include_directories
valeriosetti Jun 17, 2025
4ccde0c
Merge pull request #10225 from valeriosetti/issue229-mbedtls
mpg Jun 19, 2025
d9fa075
Update tf-psa-crypto
mpg Jun 19, 2025
6a3b877
Remove OID from generate_error.pl
mpg Jun 19, 2025
838a114
Remove MBEDTLS_OID_C from sample configs
mpg Jun 19, 2025
a9dc998
Merge pull request #10235 from mpg/cleanup-oid
mpg Jun 19, 2025
7c536da
Merge pull request #10231 from ronald-cron-arm/mbedtls-build-info
ronald-cron-arm Jun 19, 2025
79b5138
Add __attribute__ ((nonstring)) to remove unterminated-string-initial…
felixc-arm Jun 11, 2025
5b84ae1
Replace __attribute__((nonstring)) with macro MBEDTLS_ATTRIBUTE_UNTER…
felixc-arm Jun 12, 2025
b9891f1
Add changelog
felixc-arm Jun 13, 2025
cfbee27
Add include so psasim files can find new macro
felixc-arm Jun 14, 2025
69f5706
Add explanatory comment above #include "../tf-psa-crypto/core/common.h"
Jun 19, 2025
78b0521
Remove trailing whitespace
Jun 19, 2025
06d64ad
library: Makefile: use wildcard to select sources for crypto library
valeriosetti Jun 20, 2025
68e531f
Merge pull request #10216 from felixc-arm/gcc-15-warning-dev
mpg Jun 20, 2025
2180a7e
Merge pull request #10240 from valeriosetti/prereq-for-psa298
gilles-peskine-arm Jun 20, 2025
a3857eb
Merge pull request #10162 from davidhorstmann-arm/fix-bump-version
minosgalanakis Jun 20, 2025
07b95f0
Updated framework pointer (release-sync)
minosgalanakis Jun 22, 2025
ed7c0d1
Updated tf-psa-crypto pointer (release-sync)
minosgalanakis Jun 22, 2025
415d7eb
Merge pull request #10242 from Mbed-TLS/mbedtls-release-sync
ronald-cron-arm Jun 23, 2025
95c48b3
Turn Wunterminated-string-initialization back into an error
felixc-arm Jun 23, 2025
8e95ba9
Merge pull request #10214 from ariwo17/fix-typo
davidhorstmann-arm Jun 23, 2025
8e8dc11
scripts: generate_visualc_files: remove temporary Everest path fixes
valeriosetti Jun 19, 2025
8419e61
Merge pull request #10237 from valeriosetti/issue10226
mpg Jun 24, 2025
b836d46
Fix accidentally skipped test assertion
gilles-peskine-arm Jun 24, 2025
760608d
Properly initialize SSL endpoint objects
gilles-peskine-arm Jun 24, 2025
3388c4a
library: debug: add support for RSA keys in PSA friendly format
valeriosetti Jun 6, 2025
11345e9
tests: x509parse: fix return values for invalid RSA keys
valeriosetti Jun 10, 2025
2747ac1
tests: x509parse: fix RSA key in DER certificates
valeriosetti Jun 10, 2025
6676f72
library: debug: rename mbedtls_debug_print_ec_coord()
valeriosetti Jun 19, 2025
1e4423b
library: debug: add comment for follow-up in mbedtls_debug_print_psa_…
valeriosetti Jun 19, 2025
210b611
tests: suite_x509parse: fix indentation in x509parse_crt()
valeriosetti Jun 19, 2025
27eb014
tests: suite_x509parse: rename variable in x509parse_crt()
valeriosetti Jun 19, 2025
a18627a
library: debug: add comment to explain no-code-check comments
valeriosetti Jun 19, 2025
0c92466
library: debug: rename len as bitlen in mbedtls_debug_print_integer()
valeriosetti Jun 19, 2025
069617f
library: debug: improve input param check in mbedtls_debug_print_psa_…
valeriosetti Jun 19, 2025
e0fb40e
library: debug: add error log message in mbedtls_debug_print_psa_rsa()
valeriosetti Jun 19, 2025
abfa8ac
framework: update reference
valeriosetti Jun 16, 2025
247ad6e
Merge pull request #10251 from gilles-peskine-arm/tls-exporter-coveri…
minosgalanakis Jun 25, 2025
2c77014
Copy of text about private identifiers from crypto
gilles-peskine-arm Jun 25, 2025
c10c233
Migration guide: more info about private elements in public headers
gilles-peskine-arm Jun 25, 2025
f68f45c
Merge pull request #10213 from valeriosetti/issue298-development
gilles-peskine-arm Jun 25, 2025
42c4bdd
Merge pull request #10245 from felixc-arm/gcc-15-remove-wnoerror-dev
mpg Jun 26, 2025
ed87da7
Merge remote-tracking branch 'restricted/development-restricted' into…
minosgalanakis Jun 27, 2025
042ee3b
Fix accidentally skipped test assertion
gilles-peskine-arm Jun 24, 2025
0038408
Properly initialize SSL endpoint objects
gilles-peskine-arm Jun 24, 2025
42bfc16
Updated tf-psa-crypto pointer (tf-psa-crypto-1.0.0-beta)
minosgalanakis Jun 27, 2025
09dc57d
Version Bump
minosgalanakis Jun 27, 2025
8bccf16
Assemble ChangeLog
minosgalanakis Jun 26, 2025
71157fd
Update BRANCHES.md
minosgalanakis Jun 26, 2025
9213318
Merge pull request #10197 from gilles-peskine-arm/ssl_helpers-split_p…
mpg Jun 30, 2025
dd27691
remove fuzz_privkey.c and fuzz_pubkey.c
Apr 2, 2025
107b21c
removed common.* from programs/fuzz
Apr 3, 2025
2584ead
add fix for fuzz Makefile for new common path
Apr 3, 2025
eea3dda
corrected cmake path
Apr 7, 2025
dc02779
update common. to fuzz_common.h
Apr 7, 2025
a59cef4
add fixes for the fuzz Make system
Apr 8, 2025
aa5aa47
corrected Makefile path for fuzz progs
Apr 8, 2025
c42f5d4
added fix for Makefile in fuzz programs
Apr 11, 2025
7287040
fixed issue with binary cleanup in fuzz programs
Apr 14, 2025
38b063a
add fix to fuzz makefile for windows
Apr 14, 2025
51ab2d4
Add ChangeLog
Apr 29, 2025
ebaf90f
Remove ChangeLog as it is not required
Apr 30, 2025
9784b40
Remove wildcard as it is no longer required
May 21, 2025
946b0d9
Corrected windows paths
May 21, 2025
80490a2
Revert some changes to allow merge
Jun 4, 2025
d6cc47e
Add some name changes in to allow merge
Jun 4, 2025
c9b7175
Add in fuzz path variable
Jun 10, 2025
56d54c6
Remove fuzz progs from Makefile
Jun 13, 2025
d9fc98a
Correct CFLAGS path int Makefile
Jun 30, 2025
5578c06
Remove duplicated slash
Jun 30, 2025
b8ebc21
Correct typo
Jun 30, 2025
0204470
Slight improvement to the Doxygen entry point
gilles-peskine-arm Jun 25, 2025
8ba67ae
Rendered documentation: info about private elements in public headers
gilles-peskine-arm Jun 25, 2025
1c2d9a3
Migration guide for OID
gilles-peskine-arm Jun 25, 2025
2607918
Move PSA transition document to TF-PSA-Crypto
gilles-peskine-arm Jun 25, 2025
cd5abfe
Move the X.509 and SSL content from the crypto migration guide
gilles-peskine-arm Jun 25, 2025
617ee75
Copyediting and wording improvements
gilles-peskine-arm Jun 25, 2025
6f035a8
Explain why the programs have been removed
gilles-peskine-arm Jun 25, 2025
663b6df
Generalize section to other function prototype changes
gilles-peskine-arm Jun 25, 2025
15037de
Consolidate changes to mbedtls_ssl_ticket_setup()
gilles-peskine-arm Jun 25, 2025
a0e06dd
Don't mention changes to fields that were already private
gilles-peskine-arm Jun 25, 2025
826225f
Migration guide entries for removed deprecated functions
gilles-peskine-arm Jun 25, 2025
f6c03d1
typo
gilles-peskine-arm Jun 25, 2025
72968cc
Generalize the section on function prototype changes
gilles-peskine-arm Jun 25, 2025
fbab8c1
General notes about the transition to PSA
gilles-peskine-arm Jun 25, 2025
2ee5c55
Fix spelling of psa_generate_random()
gilles-peskine-arm Jun 25, 2025
2649aa2
TLS key exchange removals
gilles-peskine-arm Jun 25, 2025
9000633
Move some crypto changelog files to TF-PSA-Crypto
gilles-peskine-arm Jun 25, 2025
d3a6cbb
Subsection for the removal of explicit RNG contexts
gilles-peskine-arm Jun 26, 2025
bf92bae
Copy error-codes.md from tf-psa-crypto
gilles-peskine-arm Jun 26, 2025
9b69972
Remove crypto error codes, refer to the crypto guide instead
gilles-peskine-arm Jun 26, 2025
ac18d0c
Fix spelling of mbedtls_low_level_strerr
gilles-peskine-arm Jun 26, 2025
5acb3a5
Copyediting
gilles-peskine-arm Jun 26, 2025
0b44f56
Typos
gilles-peskine-arm Jun 30, 2025
159a652
Minor clarifications
gilles-peskine-arm Jun 30, 2025
64e80dd
Merge pull request #10255 from gilles-peskine-arm/migration-guide-202…
mpg Jun 30, 2025
5341e3c
Update tf-psa-crypto submodule to include DES error macro changes
Jun 30, 2025
2795197
Remove DES handling from error generator
Jul 1, 2025
a9ff1c4
Merge pull request #10262 from ariwo17/remove-des-from-error-generation
davidhorstmann-arm Jul 4, 2025
86422e5
Remove: DES selftest, component_test_psa_crypto_config_accel_des and …
Jul 4, 2025
f94bc63
Updated generate_errors.pl to include private directories too: the he…
amtkarm1 Jul 7, 2025
83bef5b
Merge tag 'mbedtls-4.0.0-beta' into mbedtls-4.0.0-beta-mergeback
minosgalanakis Jul 7, 2025
4716308
Bring forward ChangeLog changes.
minosgalanakis Jul 4, 2025
04c4d9c
Updated tf-psa-crypto pointer to tf-psa-crypto1.0.0-beta_mergeback
minosgalanakis Jul 7, 2025
0c10d9b
Improved the error generating script, so that it is a little more exp…
amtkarm1 Jul 8, 2025
0807268
remove hkdf header file from query_config template
Jun 11, 2025
b5e2836
Update note about the first 4.x LTS
davidhorstmann-arm Jul 8, 2025
c1d9531
Do not link against builtin/everest/p256m libraries anymore
ronald-cron-arm Jun 19, 2025
5d8d299
Disable PSA_WANT_KEY_TYPE_DES to stop DES from being re-enabled
Jul 7, 2025
a3e1e95
Merge pull request #10286 from davidhorstmann-arm/update-4.x-lts-time…
ronald-cron-arm Jul 9, 2025
7aa58bc
Merge pull request #10281 from amtkarm1/task-private-headers-gen-erro…
mpg Jul 9, 2025
ba2376c
Merge pull request #10275 from ariwo17/remove-des-core-before-crypto
davidhorstmann-arm Jul 9, 2025
aeac0b3
Disable new platform-related option
gilles-peskine-arm Jul 10, 2025
d5da020
depends.py: Do not fail when disabling a non-existing option
ronald-cron-arm Jul 2, 2025
bd28acf
ssl-opt.sh: Remove dependencies on built-in CBC and AES
ronald-cron-arm Jul 10, 2025
68ba7f7
ssl-opt.sh: Replace MBEDTLS_RSA_C dependencies
ronald-cron-arm Jun 30, 2025
fbd5157
ssl-opt.sh: Replace MBEDTLS_ECP_DP_* dependencies
ronald-cron-arm Jul 10, 2025
3f12006
build_psa_config_file: Check PSA_WANT_ALG_CMAC instead of MBEDTLS_CMAC_C
ronald-cron-arm Jul 3, 2025
b5c6fcc
test_psa_crypto_config_accel_cipher_aead_cmac: Disable POLY1305
ronald-cron-arm Jul 10, 2025
f256f8a
Add test_xts component
ronald-cron-arm Jul 10, 2025
e0b06eb
test_xts: Remove temporarily file earlier
ronald-cron-arm Jul 15, 2025
50f99ca
depends.py: Add warning log
ronald-cron-arm Jul 15, 2025
a5f3648
Replace legacy RSA crypto options in check_config.h
ronald-cron-arm Jun 30, 2025
4c48114
analyze_outcomes.py: Ignore test cases depending on MBEDTLS_GENPRIME
ronald-cron-arm Jul 11, 2025
9edf4c5
test_psa_crypto_config_accel_rsa_crypto: Disable MBEDTLS_GENPRIME
ronald-cron-arm Jul 15, 2025
abcfd4c
Modified dlopen.c and tfpsacrypto_dlopen.c so that they use PSA API-o…
Jun 17, 2025
c3d54b6
Fix comment in dlopen.c to remove reference to deprecated API
ariwo17 Jul 15, 2025
30a53fe
Update TF-PSA-Crypto submodule to PSA-only dynamic loading
ariwo17 Jul 15, 2025
606671b
Explicitly enable built-in entropy in sample and test configs
gilles-peskine-arm Jul 15, 2025
3c2a1cb
Prepare to ignore a new test case
gilles-peskine-arm Jul 15, 2025
8f548c9
Merge pull request #10256 from ariwo17/psa-dlopen-demo
minosgalanakis Jul 15, 2025
ce7de61
cmake: Fix list of TF-PSA-Crypto library targets
ronald-cron-arm Jul 16, 2025
4561164
Freeze cryptography version on the CI at 35.0.0
bensze01 Jul 16, 2025
9dda0ca
Don't install cryptography on the FreeBSD CI
bensze01 Jul 16, 2025
5956d28
Restrict CI-specific python requirements to Linux
bensze01 Jul 16, 2025
abafe32
Merge pull request #10297 from ronald-cron-arm/remove-legacy-crypto-o…
ronald-cron-arm Jul 16, 2025
901cca7
Disambiguate version.h in doxygen comment
davidhorstmann-arm Jul 16, 2025
05ffb5e
Merge pull request #10302 from bensze01/freebsd
bensze01 Jul 16, 2025
6582237
Merge pull request #10304 from davidhorstmann-arm/disambiguate-doxyge…
gilles-peskine-arm Jul 16, 2025
d2c293b
Merge pull request #10115 from bjwtaylor/move-fuzz-progs
mpg Jul 17, 2025
0b49112
Merge pull request #10212 from bjwtaylor/remove-hkdf
gilles-peskine-arm Jul 17, 2025
375fab7
Added a fix for the CI failure due to private access error
amtkarm1 Jul 17, 2025
c801d32
include private pk.h internally
Jul 3, 2025
1030f80
Add private include to additional files
Jul 15, 2025
bdc0901
Merge pull request #10307 from amtkarm1/private-access-err-fix
bensze01 Jul 17, 2025
4e9d910
Merge pull request #10272 from bjwtaylor/include-private-pk
gilles-peskine-arm Jul 18, 2025
b5fd7b9
Merge pull request #10295 from gilles-peskine-arm/nv-seed-only-prepar…
ronald-cron-arm Jul 18, 2025
306ffd3
Switch to mbedtls_pk_verify_new
Jul 7, 2025
0de8761
Remove additional calls to mbedtls_pk_verify_ext
Jul 14, 2025
0c787e3
Remove additional calls to mbedtls_pk_verify_ext
Jul 14, 2025
5be8511
Fix too many arguments in mbedtls_pk_verify_new
Jul 17, 2025
ed4a106
cmake: library: Remove unnecessary link_to_source
ronald-cron-arm May 14, 2025
a2c37b3
cmake: library: Add custom targets for generated files
ronald-cron-arm May 14, 2025
37ddcf0
Add change log
ronald-cron-arm May 14, 2025
f2d4cbb
Merge pull request #10276 from bjwtaylor/switch-to-mbedtls_pk_verify_new
gilles-peskine-arm Jul 21, 2025
27125ce
Update references to tf-psa-crypto/core/common.h
bensze01 Jul 18, 2025
e6167e7
Update tf-psa-crypto submodule
bensze01 Jul 18, 2025
89becc9
Update framework submodule
bensze01 Jul 22, 2025
722d982
Merge pull request #10309 from bensze01/rename-tf-psa-crypto-common.h
bensze01 Jul 23, 2025
772a8ad
all.sh: Remove unset of now removed legacy hash config options
ronald-cron-arm Jul 21, 2025
8719c2f
ssl_misc.h: Update PKCS1 dependencies
ronald-cron-arm Jul 22, 2025
892bb61
all.sh: Remove unset of now removed legacy RSA config options
ronald-cron-arm Jul 21, 2025
e13c701
all.sh: Remove unset of now removed legacy symmetric crypto options
ronald-cron-arm Jul 21, 2025
0668036
Replace MBEDTLS_AES_C
ronald-cron-arm Jul 21, 2025
fb03d13
depends.py: Remove cipher_padding domain
ronald-cron-arm Jul 9, 2025
dfd501d
depends.py: Adapt to the removal of legacy crypto config options
ronald-cron-arm Jul 21, 2025
5eb9aba
mbedtls_config.h: Update "requires" comments
ronald-cron-arm Jul 22, 2025
c7c480a
Revert temporary merge changes
Jun 4, 2025
52510b2
Update header names
Jun 4, 2025
60a5b32
Correct onefile name
Jun 4, 2025
8beeed0
Add further updates to paths
Jun 13, 2025
4e85cbd
update submodules to pull in previous PR's
Jun 13, 2025
250e8b8
Update submodule pointer
Jul 23, 2025
361ce2b
Rename mbedtls_pk_setup_opaque to mbedtls_pk_wrap_psa
Jul 4, 2025
02c76eb
Add minor corrections to the fuzz Makefile
Jul 24, 2025
a4bd67f
Merge pull request #10274 from bjwtaylor/rename-mbedtls_pk_setup_opaque
gilles-peskine-arm Jul 25, 2025
3bb528d
Merge pull request #10205 from bjwtaylor/move-fuzz-progs-2
gilles-peskine-arm Jul 25, 2025
b23424c
Merge pull request #10317 from ronald-cron-arm/legacy-crypto-options-…
ronald-cron-arm Jul 25, 2025
c0a562c
query_config.fmt: glob headers instead of listing them explicitly
gilles-peskine-arm Jul 25, 2025
8b006ce
Invoke generate_query_config.pl from the root
gilles-peskine-arm Jul 25, 2025
1b4bfdf
Add missing include
gilles-peskine-arm Jul 25, 2025
409c688
Include mbedtls/platform_time.h conditionally on MBEDTLS_HAVE_TIME
gilles-peskine-arm Jul 25, 2025
4995d44
Don't incude auxiliary headers that have alternative versions
gilles-peskine-arm Jul 25, 2025
bb8bafa
Pacify uncrustify
gilles-peskine-arm Jul 25, 2025
d103046
Merge pull request #10324 from gilles-peskine-arm/query_config-glob-h…
minosgalanakis Jul 28, 2025
018e098
New source file for configuration checks
gilles-peskine-arm Jul 9, 2025
ac637ac
Make check_config.h private
gilles-peskine-arm Jul 22, 2025
1819a91
Include limits.h where needed
gilles-peskine-arm Jul 22, 2025
aca3b5e
Update framework with unittest_config_checks.py
gilles-peskine-arm Jul 22, 2025
01def64
Unit tests for check_config.h
gilles-peskine-arm Apr 25, 2025
fff4b32
Announce that <mbedtls/check_config.h> no longer exists
gilles-peskine-arm Jul 22, 2025
bf650ee
Temporarily disable Werror
Jul 3, 2025
04b03d7
Replace Werror removal with pragma
Jul 14, 2025
1c1535f
Make pragmas more specific
Jul 16, 2025
d3ae170
Remove pragmas and use alias
Jul 23, 2025
73b3987
Correct rebase and add in additional type cast
Jul 23, 2025
7523b54
Update tf-psa-crypto submodule
Jul 28, 2025
532dfee
Add copy of header file for libtestdriver1
Jul 22, 2025
1787ea4
Removed debug comment
Jul 23, 2025
d560799
Adjust libtestdriver1_rewrite.pl to work on private
Jul 28, 2025
cd1b7ff
tests: x509write: replace MBEDTLS_ECDSA_DETERMINISTIC with PSA_WANT one
valeriosetti Jul 29, 2025
bebe631
Merge pull request #10329 from valeriosetti/issue345-development
gilles-peskine-arm Jul 29, 2025
d6f881e
Merge pull request #10319 from gilles-peskine-arm/move-check-config-t…
gilles-peskine-arm Jul 29, 2025
b3a2005
Remove copy from Makefile
Jul 29, 2025
4bb98be
initial remove of MBEDTLS_USE_PSA_CRYPTO
May 7, 2025
6bcdd67
Update ssl progs to restore build
Jun 2, 2025
62278dc
remove MBEDTLS_USE_PSA_CRYPTO from ssl progs
Jun 6, 2025
0f21429
Correct ifdef logic
Jun 6, 2025
9020426
remove MBEDTLS_USE_PSA_CRYPTO from tests
Jun 9, 2025
a4915ab
fix code style issues
Jun 9, 2025
98ecfdb
corrected code style
Jun 10, 2025
cdc191b
Correct code style
Jun 10, 2025
39a68bf
removed additional references to USE_PSA in tests and comments
Jul 15, 2025
0768726
restoring test comment that refer to USE_PSA
Jul 16, 2025
6164e92
Restore comment in ssl-opt.sh as it is still relevent
Jul 16, 2025
8519c3e
corrected copy paste error for MBEDTLS_USE_PSA_CRYPTO enabled/disabled
Jul 16, 2025
a750e1b
Minor comment updates
Jul 22, 2025
d5b655a
Re-add missing and
Jul 22, 2025
44703e4
Update comment format
Jul 23, 2025
1e2e2ea
Added back crypto treatment of certs as the keyfile is now passed in …
Jul 29, 2025
dbea0a9
Remove additional unused no rng case
Jul 29, 2025
4df61d4
fix style issues
Jul 29, 2025
c454b5b
Fix rebase failure
Jul 30, 2025
bb9ca49
Merge pull request #10271 from bjwtaylor/new-mbedtls_pk_sigalg_t
gilles-peskine-arm Jul 30, 2025
ae9dbaa
Merge pull request #10315 from bjwtaylor/include-private-pk
gilles-peskine-arm Jul 30, 2025
db99ca9
Merge remote-tracking branch 'development' into dependency-on-generat…
gilles-peskine-arm Jul 30, 2025
3e23cdc
Merge pull request #10313 from ronald-cron-arm/dependency-on-generate…
gilles-peskine-arm Jul 30, 2025
40486a4
Merge pull request #10209 from bjwtaylor/remove-MBEDTLS_USE_PSA_CRYPT…
gilles-peskine-arm Jul 30, 2025
72d6030
Combine psa_pake_set_password_key and psa_pake_setup into a single fu…
amtkarm1 Mar 19, 2025
23189f4
Updated the tf-psa-crypto git link
amtkarm1 Mar 19, 2025
3621741
Merge pull request #10077 from amtkarm1/iss9320
mpg Aug 1, 2025
2fc5994
Added MBEDTLS_PSA_CRYPTO_RNG_STRENGTH to tests.
minosgalanakis Jul 9, 2025
8a43e7c
Updated tf-psa-crypto pointer
minosgalanakis Jul 31, 2025
4c27020
Merge pull request #10292 from minosgalanakis/feature/introduce_crypt…
minosgalanakis Aug 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Classify all '.function' files as C for syntax highlighting purposes
*.function linguist-language=C
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: ''

---

**WARNING:** if the bug you are reporting has or may have security implications,
we ask that you report it privately to
<[email protected]>
so that we can prepare and release a fix before publishing the details.
See [SECURITY.md](https://github.com/Mbed-TLS/mbedtls/blob/development/SECURITY.md).

### Summary


Expand All @@ -25,6 +31,10 @@ Additional environment information:

### Actual behavior

**WARNING:* if the actual behaviour suggests memory corruption (like a crash or an error
from a memory checker), then the bug should be assumed to have security
implications (until proven otherwise), and we ask what you report it privately,
see the note at the top of this template.


### Steps to reproduce
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ contact_links:
url: mailto:[email protected]
about: Report a security vulnerability.
- name: Mbed TLS mailing list
url: https://lists.trustedfirmware.org/mailman/listinfo/mbed-tls
url: https://lists.trustedfirmware.org/mailman3/lists/mbed-tls.lists.trustedfirmware.org
about: Mbed TLS community support and general discussion.
45 changes: 20 additions & 25 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
Notes:
* Pull requests cannot be accepted until the PR follows the [contributing guidelines](../CONTRIBUTING.md). In particular, each commit must have at least one `Signed-off-by:` line from the committer to certify that the contribution is made under the terms of the [Developer Certificate of Origin](../dco.txt).
* This is just a template, so feel free to use/remove the unnecessary things
## Description
A few sentences describing the overall goals of the pull request's commits.

Please write a few sentences describing the overall goals of the pull request's commits.

## Status
**READY/IN DEVELOPMENT/HOLD**

## Requires Backporting
When there is a bug fix, it should be backported to all maintained and supported branches.
Changes do not have to be backported if:
- This PR is a new feature\enhancement
- This PR contains changes in the API. If this is true, and there is a need for the fix to be backported, the fix should be handled differently in the legacy branch

Yes | NO
Which branch?
## PR checklist

## Migrations
If there is any API change, what's the incentive and logic for it.
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.

YES | NO
- [ ] **changelog** provided | not required because:
- [ ] **development PR** provided # | not required because:
- [ ] **TF-PSA-Crypto PR** provided # | not required because:
- [ ] **framework PR** provided Mbed-TLS/mbedtls-framework# | not required
- [ ] **3.6 PR** provided # | not required because:
- **tests** provided | not required because:

## Additional comments
Any additional information that could be of interest

## Todos
- [ ] Tests
- [ ] Documentation
- [ ] Changelog updated
- [ ] Backported

## Notes for the submitter

## Steps to test or reproduce
Outline the steps to test or reproduce the PR here.
Please refer to the [contributing guidelines](https://github.com/Mbed-TLS/mbedtls/blob/development/CONTRIBUTING.md), especially the
checklist for PR contributors.

Help make review efficient:
* Multiple simple commits
- please structure your PR into a series of small commits, each of which does one thing
* Avoid force-push
- please do not force-push to update your PR - just add new commit(s)
* See our [Guidelines for Contributors](https://mbed-tls.readthedocs.io/en/latest/reviews/review-for-contributors/) for more details about the review process.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Random seed file created by test scripts and sample programs
seedfile
# Log files created by all.sh to reduce the logs in case a component runs
# successfully
quiet-make.*

# CMake build artifacts:
CMakeCache.txt
Expand All @@ -23,6 +26,15 @@ coverage-summary.txt
# generated by scripts/memory.sh
massif-*

# Eclipse project files
.cproject
.project
/.settings

# Unix-like build artifacts:
*.o
*.s

# MSVC build artifacts:
*.exe
*.pdb
Expand Down Expand Up @@ -52,3 +64,11 @@ massif-*
/TAGS
/cscope*.out
/tags

# clangd compilation database
compile_commands.json
# clangd index files
/.cache/clangd/index/

# VScode folder to store local debug files and configurations
.vscode
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "framework"]
path = framework
url = https://github.com/Mbed-TLS/mbedtls-framework
[submodule "tf-psa-crypto"]
path = tf-psa-crypto
url = https://github.com/Mbed-TLS/TF-PSA-Crypto.git
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[mypy]
mypy_path = scripts
mypy_path = framework/scripts:scripts
namespace_packages = True
warn_unused_configs = True
18 changes: 17 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[MASTER]
init-hook='import sys; sys.path.append("scripts")'
init-hook='import sys; sys.path.append("scripts"); sys.path.append("framework/scripts")'
min-similarity-lines=10

[BASIC]
# We're ok with short funtion argument names.
Expand Down Expand Up @@ -69,7 +70,22 @@ disable=locally-disabled,locally-enabled,logging-format-interpolation,no-else-re
# Don't diplay statistics. Just the facts.
reports=no

[STRING]
# Complain about
# ```
# list_of_strings = [
# 'foo' # <-- missing comma
# 'bar',
# 'corge',
# ]
# ```
check-str-concat-over-line-jumps=yes

[VARIABLES]
# Allow unused variables if their name starts with an underscore.
# [unused-argument]
dummy-variables-rgx=_.*

[SIMILARITIES]
# Ignore imports when computing similarities.
ignore-imports=yes
37 changes: 37 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Include all submodules in the build
submodules:
include: all
recursive: true

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
jobs:
pre_build:
- ./framework/scripts/apidoc_full.sh
- breathe-apidoc -o docs/api apidoc/xml
post_build:
- |
# Work around Readthedocs bug: Command parsing fails if the 'if' statement is on the first line
if [ "$READTHEDOCS_VERSION" = "development" ]; then
"$READTHEDOCS_VIRTUALENV_PATH/bin/rtd" projects "Mbed TLS API" redirects sync --wet-run -f docs/redirects.yaml
fi

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: dirhtml
configuration: docs/conf.py

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
64 changes: 10 additions & 54 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,24 @@
# Declare python as our language. This way we get our chosen Python version,
# and pip is available. Gcc and clang are available anyway.
dist: jammy
os: linux
language: python
python: 3.5
sudo: false
cache: ccache

jobs:
include:
- name: basic checks and reference configurations
addons:
apt:
packages:
- gnutls-bin
- doxygen
- graphviz
- gcc-arm-none-eabi
- libnewlib-arm-none-eabi
- gcc-arm-linux-gnueabi
- libc6-dev-armel-cross
script:
- tests/scripts/all.sh -k 'check_*'
- tests/scripts/all.sh -k test_default_out_of_box
- tests/scripts/all.sh -k test_ref_configs
- tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
python: 3.10

- name: full configuration
script:
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
cache: ccache

- name: Windows
os: windows
# The language 'python' is currently unsupported on the
# Windows Build Environment. And 'generic' causes the job to get stuck
# on "Booting virtual machine".
language: c
before_install:
- choco install python --version=3.5.4
env:
# Add the directory where the Choco packages go
- PATH=/c/Python35:/c/Python35/Scripts:$PATH
- PYTHON=python.exe
script:
- type perl; perl --version
- type python; python --version
- scripts/make_generated_files.bat
# Logs appear out of sequence on Windows. Give time to catch up.
- sleep 5
- scripts/windows_msbuild.bat v141 # Visual Studio 2017
branches:
only:
coverity_scan

after_failure:
- tests/scripts/travis-log-failure.sh
install:
- $PYTHON scripts/min_requirements.py

env:
global:
- SEED=1
- secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="

install:
- $PYTHON scripts/min_requirements.py

- secure: "GF/Fde5fkm15T/RNykrjrPV5Uh1KJ70cP308igL6Xkk3eJmqkkmWCe9JqRH12J3TeWw2fu9PYPHt6iFSg6jasgqysfUyg+W03knRT5QNn3h5eHgt36cQJiJr6t3whPrRaiM6U9omE0evm+c0cAwlkA3GGSMw8Z+na4EnKI6OFCo="
addons:
apt:
packages:
- gnutls-bin
coverity_scan:
project:
name: "ARMmbed/mbedtls"
Expand Down
Loading