1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00
Commit Graph

31946 Commits

Author SHA1 Message Date
d248adceb5 Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-19 10:43:10 +02:00
4d6a2aa895 Adujst paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-19 10:43:03 +02:00
24157795a0 Move files out of Mbed TLS
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-19 10:43:03 +02:00
cee38ebe92 Merge pull request #9837 from eleuzi01/issue-70-backport
[Backport 3.6] Move scripts/code_style.py to the framework
2024-12-18 16:27:20 +00:00
fc513fec45 Update submodule with the merge
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 16:32:18 +02:00
a3c601e38c Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:19:41 +02:00
993df66645 Adjust paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:19:20 +02:00
711abe340b Move files out of Mbed TLS
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:19:20 +02:00
f1e78f28ea Merge pull request #9848 from solardiz/mbedtls-3.6
[Backport 3.6] Specify previously missed register clobbers in AES-NI asm blocks
2024-12-13 15:26:06 +00:00
cbf5df5d54 Add change log entry on AES-NI asm block fixes
Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-13 02:10:06 +01:00
e65428ed3d Specify previously missed XMM register clobbers in AES-NI asm blocks
Noticed by Gilles Peskine

Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-13 02:10:01 +01:00
98910a1437 Specify register clobbers in mbedtls_aesni_crypt_ecb()
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-13 02:09:51 +01:00
cd40fa1f09 Merge pull request #9838 from waleed-elmelegy-arm/mbedtls-3.6
Backport 3.6: Fix Invalid opaque key testing
2024-12-11 17:47:34 +00:00
4497d5f39a Merge pull request #9832 from ronald-cron-arm/finalize-split-preparation-2_3.6
Move test_keys.h to include/test
2024-12-11 13:39:26 +00:00
1b2d676dbe Update framework to the merge of #99
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-11 12:11:12 +01:00
f8fdea0fd4 Update framework
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-11 11:13:30 +01:00
edb89ff9c9 Create a new Python module used by generate_psa_tests.py
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-11 11:11:55 +01:00
fcdebbeeb0 Fix make dir/file not rebuilding existing files
Running `make library/foo`, `make programs/foo` or `make tests/foo` only
rebuilt the given target if it was not an existing file, because the
toplevel makefile does not know the file's dependencies and thus thought
that every such target had empty dependencies. Fix this by always invoking
make recursively.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-11 11:08:14 +01:00
a770f30ee9 Merge pull request #9782 from gilles-peskine-arm/psa-storage-test-cases-never-supported-preliminaries-3.6
Backport 3.6: Make some edge cases of not-supported or invalid mechanisms more uniform
2024-12-10 18:16:05 +00:00
f12b5e907c Remove Invalid import/export key test
The test is supposed to be an opaque key test but the
testing function does not support specifying an
opaque driver.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-12-10 17:39:57 +00:00
68d6c79602 Fix export public-key opaque key test paramters
The test is marked as opaque but the parameter was set
to PSA_KEY_LIFETIME_VOLATILE.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-12-10 17:39:22 +00:00
66ebd9a9ff make: Add missing dependency
Add missing dependency of visualc
file generation on programs and
tests generated files.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 16:32:12 +01:00
4eaf54e646 Move test_keys.h to include/test
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 16:32:07 +01:00
f0dedbaa47 Fix incorrect submodule error message in CMake
This commit fixes a condition where the incorrect submodule error
message was displayed.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-10 15:32:04 +00:00
0fdb404450 Fix incorrect submodule error message in Makefile
This commit fixes a condition where the incorrect submodule error
message was displayed as the check for the directory returns true only
if the directory does not exist

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-10 13:54:15 +00:00
189bf03056 Merge pull request #9789 from eleuzi01/issue-74-backport
[Backport 3.6] Move scripts used by all-core.sh to the framework
2024-12-10 12:31:10 +00:00
383ae2f0db Update submodule with the merge
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-10 09:43:43 +00:00
aebe857339 Added debug print in tls13 ssl_tls13_write_key_share_ext
Signed-off-by: Nadav Tasher <tashernadav@gmail.com>
2024-12-09 20:16:48 +01:00
1552e11bb3 Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:38:29 +00:00
e26f20e745 Adapt paths for scripts/quiet
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:37:49 +00:00
58172ae15e Adapt paths for output_env.sh
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:37:49 +00:00
9837ad316a Move files out of Mbed TLS
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:37:48 +00:00
2db55a5520 Merge pull request #9824 from Harry-Ramsey/remove-obsolete-ci-scripts-3.6
Backport 3.6: Remove obsolete CI Scripts
2024-12-09 10:49:50 +00:00
816c7c27f4 Refactor scripts to use config.py instead of config.pl
This commit refactors scripts to use config.py which replaces config.pl.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:55:31 +00:00
8fae4b05ef Remove obsolete tcp_client.pl
This commit removes tcp_client.pl and removes it from ssl-opt.sh as it
has been replaced by test_suite_ssl.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:54:39 +00:00
b5cfc05e89 Remove obsolete Travis CI scripts
This commit removes obsolete Travis CI scripts that are no longer
required due to the transition to a publically available CI image.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:53:47 +00:00
454cb09a3a Remove obsolete Docker CI scripts
This commit removes Docker CI scripts from the repository as they are no
longer necessary with CI images being publically available.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:53:37 +00:00
4f65e1f075 Distinguish between MBEDTLS_PSA_CRYPTO_C and MBEDTLS_PSA_CRYPTO_CLIENT
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-04 18:05:46 +01:00
d78d695c46 FFDH in TLS: it's only a limitation for TLS 1.2, not TLS 1.3
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-04 18:04:55 +01:00
42cb84fc4e Merge pull request #9812 from SuperIlu/mbedtls-3.6
Mbedtls 3.6: Fix compilation on MS-DOS DJGPP
2024-12-03 09:12:12 +00:00
fbc8687033 Fix copypasta
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-02 21:46:50 +01:00
f36f405c05 reworked changelog according to suggestion
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-02 21:25:11 +01:00
95355befd5 Added changelog
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-01 10:32:07 +01:00
7e6d4c13a8 Make mbedTLS compile with MS-DOS DJGPP
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-01 10:31:50 +01:00
968ada439b Merge pull request #9805 from eleuzi01/project-detection-submodule-update-backport
[Backport 3.6] Update framework submodule
2024-11-28 14:30:23 +00:00
6d9cd17332 Update submodule to point to main
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-28 09:35:20 +00:00
cbb502191c Merge pull request #9764 from eleuzi01/issue-39-backport
[Backport 3.6] Add project and branch detection in shell
2024-11-27 16:51:24 +00:00
695810a093 Define FRAMEWORK
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:53 +00:00
91f424a72d Fix paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:53 +00:00
f1099cb77e Use new functions
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:53 +00:00