-
Notifications
You must be signed in to change notification settings - Fork 42
Update abi_check.py to support standalone tf-psa-crypto #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bensze01
wants to merge
1,275
commits into
Mbed-TLS:main
Choose a base branch
from
bensze01:abicheck-port
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
1275 commits
Select commit
Hold shift + click to select a range
486ec6e
Improved the text in the Changelog
c1e76e0
correct whitespace style issue
0d530d1
Merge pull request #10294 from bjwtaylor/remove-static-ecdh
mpg bb877a8
remove further references to MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT…
5496f90
Temporarily revert changes to config.py
5a7a72e
testing with analyze_outcomes changes reverted for merge
14e1932
Remove stray comment int components-platform.sh
1a81ab6
Merge pull request #10379 from bjwtaylor/update-header-guards
mpg 07912c9
Merge pull request #10370 from bjwtaylor/remove-deprecated-compilatio…
mpg 9c2727f
Update framework
ronald-cron-arm 2ba5d6a
Update tf-psa-crypto
ronald-cron-arm e5eb263
readthedocs: Install cmake to build the documentation
ronald-cron-arm e6240f1
Merge pull request #10403 from ronald-cron-arm/fix-readthedocs-build
ronald-cron-arm 0dd31fe
Introduce MBEDTLS_SSL_NULL_CIPHERSUITES
ronald-cron-arm 2b7f595
Remove completely MBEDTLS_PLATFORM_GET_ENTROPY_ALT
ronald-cron-arm 919a1e4
Cleanup following the removal of RSA legacy options
ronald-cron-arm a19ee28
Cleanup following the removal of MBEDTLS_ECDH_C option
ronald-cron-arm 3c6bbdd
Cleanup following the removal of MBEDTLS_ECDSA_C option
ronald-cron-arm 2ad1e5c
Cleanup following the removal of MBEDTLS_ECJPAKE_C option
ronald-cron-arm 6cfab28
Cleanup following the removal of MBEDTLS_ECP_C option
ronald-cron-arm feb5e26
Cleanup following the removal of MBEDTLS_ECP_DP_.*_ENABLED options
ronald-cron-arm 4fe3760
Cleanup following the removal of MBEDTLS_BIGNUM_C option
ronald-cron-arm 0009b04
library: ssl: replace mbedtls_pk_can_do_ext with mbedtls_pk_can_do_psa
valeriosetti 7b2d72a
ssl: replace PSA_ALG_ECDSA with MBEDTLS_PK_ALG_ECDSA
valeriosetti bc611fe
[tls12|tls13]_server: fix usage being checked on the certificate key
valeriosetti 91c0945
tests: fix alg and usage for some ECDHE-ECDSA opaque key tests
valeriosetti e2aed3a
tests: revert changes to test_suite_ssl.data
valeriosetti a1d6b27
Merge remote-tracking branch 'development' into restricted-mbedtls-me…
gilles-peskine-arm 710869b
Update framework to the merge of main and main-restricted
gilles-peskine-arm d66898e
Merge pull request #10333 from valeriosetti/issue10266
gilles-peskine-arm 3091e40
Remove usage of old crypto options in public headers
ronald-cron-arm 2fe29ab
Update submodules to the merge of the merge PR
gilles-peskine-arm b91117c
Merge pull request #10402 from ronald-cron-arm/remove-legacy-crypto-o…
ronald-cron-arm 7ea9f1b
Merge pull request #1426 from gilles-peskine-arm/restricted-mbedtls-m…
gilles-peskine-arm ff5d117
Increment config version for the new product major version
gilles-peskine-arm 46acbcd
Merge pull request #10404 from gilles-peskine-arm/config-version-4.0
ronald-cron-arm 67f54d2
Have the definition of MBEDTLS_CONFIG_VERSION uncommented by default
gilles-peskine-arm f328de9
Merge pull request #10407 from gilles-peskine-arm/config-version-unco…
ronald-cron-arm ff63066
Update submodules with config_checks_generator.py
gilles-peskine-arm 3374f6e
Generate checks for bad options in the config file
gilles-peskine-arm b53b443
Register generate_config_files.py outputs as generated files
gilles-peskine-arm 67b115c
Register crypto's generate_config_files.py outputs as generated files
gilles-peskine-arm 6712f1b
Use --list-for-cmake with generate_config_checks.py
gilles-peskine-arm c84dbee
Merge pull request #10340 from gilles-peskine-arm/config-checks-gener…
yanesca 62491a9
Revert changes to config.py after dependencies have been merged
fec1c00
Revert changes to analyze outcomes after dependencies have been merged
8df6563
Clarify target name for library generated files
ronald-cron-arm 879cba1
cmake: Introduce version and soversion variables
ronald-cron-arm c09a84e
cmake: library: Rework and improve the copy of the crypto libraries
ronald-cron-arm 466a1a2
cmake: Provide the crypto libs under their historical name
ronald-cron-arm a33b371
programs/tests/dlopen.c: Prioritize libtfpsacrypto.so
ronald-cron-arm 35d59c6
cmake: Install libmbedcrypto.* libraries
ronald-cron-arm d57a098
Add dependency of tf_psa_crypto_config on generated config check headers
gilles-peskine-arm 9da0dce
Bypass config checks when setting a low-level option directly
gilles-peskine-arm 9a05bb9
Update framework
ronald-cron-arm bb02ec1
Prepare abi_check.py to scripts/legacy.make
ronald-cron-arm 401f20f
Prepare test components to scripts/legacy.make
ronald-cron-arm 31f6321
Deprecate Make
ronald-cron-arm e7bac84
Remove the generation of MS visual studio files
ronald-cron-arm ee63b64
Update README.md
ronald-cron-arm 7f65346
Add change log
ronald-cron-arm f2672e3
Merge pull request #10409 from gilles-peskine-arm/config-error-on-rem…
davidhorstmann-arm 9097972
Merge pull request #10382 from ronald-cron-arm/deprecate-make
ronald-cron-arm caaf52d
Merge pull request #10391 from bjwtaylor/remove-deprecated-compilatio…
gilles-peskine-arm e5bae0d
Adapt basic-build-test.sh to make deprecation
ronald-cron-arm 15cd8b0
Adapt footprint.sh to make deprecation
ronald-cron-arm 37148d0
Adapt memory.sh to make deprecation
ronald-cron-arm 3a252dd
Adapt code_size_compare.py to make deprecation and submodules
ronald-cron-arm d3d0652
Update framework submodule with config_history.py
gilles-peskine-arm 24d058b
Enable checks for bad options in the config file
gilles-peskine-arm 24273c0
Checks for crypto options or internal macros set in mbedtls
gilles-peskine-arm 8e44a94
Automatically generate checkers for removed options
gilles-peskine-arm 379d38d
Unit tests for checks for removed options in the config file
gilles-peskine-arm cc1ac1d
CMake: support generated headers
gilles-peskine-arm c45d9ac
Allow setting removed options that are now always on
gilles-peskine-arm 562763b
Add dependency of mbedtls_config on generated config check headers
gilles-peskine-arm 4bb82fd
Fix copypasta in documentation
gilles-peskine-arm f7ed4e5
Add test case for allowing setting an always-on removed option
gilles-peskine-arm 3cee43e
Be more consistent about method naming
gilles-peskine-arm 9c1f18a
Merge pull request #10414 from ronald-cron-arm/deprecate-make-follow-up
davidhorstmann-arm effa534
Use worktrees instead of fetches for submodules
bensze01 3415d2d
Merge pull request #10306 from gilles-peskine-arm/config-error-on-rem…
gilles-peskine-arm 355b00e
Fix includes in udp_proxy.c
mpg 0da9ce0
Merge pull request #10418 from mpg/fix-udp-proxy
davidhorstmann-arm dc88f6e
Use f-string literal
bensze01 8d95062
Eliminate use of git worktree prune
bensze01 cf9b557
Removed static ECDH
gilles-peskine-arm 7d3cf9b
Add section on the config file split
gilles-peskine-arm 9314555
Restored changelog entries
minosgalanakis 120914b
Removed entries already in tf-psa-crypto Clog
minosgalanakis 5bb46ef
Moved TLS related changelogs
minosgalanakis f47c865
Moved x509 related changelogs
minosgalanakis a439ac5
moved psa changelogs
minosgalanakis 582cb04
Changelog: Moved fix-clang-psa-build-without-dhm to MbedTLS
minosgalanakis 92a2154
Changelog: Split changelogs for both libraries
minosgalanakis 4b0923f
Changelog: Brought forward changelog changes from #4716308
minosgalanakis 1789bbd
Changelog: Moved entries to tf-psa-psa
minosgalanakis 514375e
Changelog: Brought entries from tf-psa-crypto
minosgalanakis 9b1db5d
Moved entries back to Changelog.d
minosgalanakis 48bfaa9
Changelog: Removed psa migrated entries
minosgalanakis 98dfcd4
Add missing include of stdio.h
davidhorstmann-arm ce9f08a
More removals found in changelog entries
gilles-peskine-arm 0f2a4f3
Prevent unnecessary submodule fetches
bensze01 4da7398
Merge pull request #10424 from davidhorstmann-arm/add-missing-include…
mpg ee1991a
Merge pull request #10408 from ronald-cron-arm/historical-libmbedcryto
davidhorstmann-arm 9364208
Changelogs: Fixed aligment issues
minosgalanakis 9114d4a
all.sh: prepare component for hiding small curves
mpg cc3f987
Changelogs: Added CVEs
minosgalanakis 30f42ed
Changelog: Reworded fix-clang-psa-build-without-dhm
minosgalanakis 8120169
Changelog: Removed check-config.txt
minosgalanakis 55e4bf8
Changelog: Introduced oid.txt
minosgalanakis 9defedb
Fix comment too long for pylint
bensze01 7e8e438
Replace cases of time_t with mbedtls_time_t
6efe524
revert change to gmtime arguments int ssl_context_info.c
b11d5bc
Add ChangeLog
c797a35
Improve ChangeLog entry
2c2e243
There's no reason to discourage including */build_info.h directly
gilles-peskine-arm e27c35c
Copyediting
gilles-peskine-arm 2706002
Merge pull request #10426 from mpg/hide-small-curves
mpg 6ac3693
Merge pull request #10423 from bjwtaylor/time_t
davidhorstmann-arm fd9b5d5
Merge pull request #10422 from gilles-peskine-arm/migration-guide-202…
mpg 6a9be3d
Merge pull request #10416 from bensze01/abicheck-worktree-submodules
ronald-cron-arm c8e4fd3
Initial removal of DES from mbedtls
4936b17
Add ChangeLog
c32f591
Improved ChangeLog
c4dee5c
Remove ChangeLog
1317d7f
Remove spurious make command
6c4df1a
Update tf-psa-crypto submodule
db39c0f
Update framework modules
0a49a8b
Merge pull request #10397 from minosgalanakis/debug/restore_changelogs
gilles-peskine-arm 332ad50
Merge pull request #10413 from bjwtaylor/remove-des
mpg 28d1d61
Update BRANCHES.md
ronald-cron-arm 94f102c
Update SECURITY.md
ronald-cron-arm dc0036b
Updated framework pointer
minosgalanakis 0552033
Updated tf-psa-crypto pointer
minosgalanakis d4b6bc7
Merge pull request #10435 from Mbed-TLS/mbedtls-release-sync
gilles-peskine-arm d196cbd
README.md: The crypto code is provided by TF-PSA-Crypto
ronald-cron-arm eef87b3
README.md: Microsoft Visual Studio is not directly supported anymore
ronald-cron-arm 0f2ef4a
README.md: Update Configuration section
ronald-cron-arm 200b89b
README.md: Update/Fix documentation section
ronald-cron-arm 7cf78b4
README.md: Update build sections
ronald-cron-arm 4ccdaf1
README.md: Update minimum version of tools
ronald-cron-arm e2d4684
README.md: Update tests section
ronald-cron-arm c9d79ff
README.md: Various small improvements
ronald-cron-arm c9998d3
README.md: Fix/Update the "Git usage" section
ronald-cron-arm 74a4984
README.md: Fix/Improve CMake section
ronald-cron-arm e943bd7
configs/README.txt: Improve example with MBEDTLS/TF_PSA_CRYPTO_CONFIG…
ronald-cron-arm 8267196
README.md: Add mention to topics.html for Doxygen documentation
ronald-cron-arm b906301
Various minor improvements
ronald-cron-arm 864c31a
README.md: IAR not currently used in our testing
ronald-cron-arm 63180eb
README.md: Adjust CMake minimum version
ronald-cron-arm 91b8310
Remove internal deprecated items
2f13c8c
Merge pull request #10436 from ronald-cron-arm/root-documentation
gilles-peskine-arm 9228e4a
Add repo-split migration guide
ronald-cron-arm a5e1b6d
Rework "CMake as the only build system" section
ronald-cron-arm c764624
Various small changes
ronald-cron-arm d3f02cd
Improve file and directory relocation table
ronald-cron-arm 79a2631
Expand "Configuration file split" section
ronald-cron-arm 5d069c9
Add Make to CMake migration section
ronald-cron-arm 25b1a02
Rework "Impact on some usages of the library" section
ronald-cron-arm de8bb96
Change footnote indication
ronald-cron-arm f37dbf6
Add missing typesettings
ronald-cron-arm 15557d0
Various improvements
ronald-cron-arm dca3b38
Various improvements
ronald-cron-arm 7c39b60
Improve sections "Using Mbed TLS as a CMake subproject/package"
ronald-cron-arm 5394731
Merge pull request #10441 from ronald-cron-arm/migration-guide
gilles-peskine-arm 9fc5910
Remove 3.0 migration guide
gilles-peskine-arm e79923c
Consolidate migration guide chapters into a single file
gilles-peskine-arm 2c0cb99
Add short introduction
gilles-peskine-arm 6671909
Ensure there is a blank line before headers (markdown portability)
gilles-peskine-arm d83c476
Fix copypasta
gilles-peskine-arm 75a36bd
Fix copypasta in title
gilles-peskine-arm fa4e946
Add sentence that was in 3.0 and is in TF-PSA-Crypto 1.0
gilles-peskine-arm ccd9e29
Merge pull request #10446 from gilles-peskine-arm/migration-guide-4.0…
gilles-peskine-arm 0283fa0
Merge remote-tracking branch 'restricted/development-restricted' into…
minosgalanakis ca4a1a1
Merge remote-tracking branch 'mbedtls4.0.0-documentation' into mbedtl…
minosgalanakis 65c29f0
Updated framework submodule
minosgalanakis 3765e5c
Merge pull request #10438 from bjwtaylor/deprecated-functions
gilles-peskine-arm 0ff335d
Remove uses of mbedtls_pk_verify_new
21cd2dd
Updated tf psa-crypto submodule
minosgalanakis e5862c0
Removed Beta Changelog
minosgalanakis 38181b6
Assemble ChangeLog
minosgalanakis 411461a
Doc: Removed references to beta version
minosgalanakis ec40440
ChangeLog: Added CVEs
minosgalanakis 2842c33
Merge tag 'v4.0.0' into mbedtls-4.0.0_mergeback
minosgalanakis b2878ee
Updated tf-psa-crypto pointer
minosgalanakis 58439de
Fix documentation link to submodule that doesn't work on GitHub
gilles-peskine-arm b180696
Merge pull request #10459 from gilles-peskine-arm/fix-doc-submodule-l…
mpg d0881ed
prepare_release.sh: Added psed helper function
minosgalanakis 1f95b78
prepare_release.sh: Limited .gitignore to current project
minosgalanakis d995a21
prepare_release.sh: Adjusted logic
minosgalanakis 0b79666
prepare_release.sh:Removed Makefiles modification
minosgalanakis 61fdef5
prepare_release.sh: Adjusted psed logic.
minosgalanakis c4d4f6b
prepare_release.sh: Removed -r/-u modes
minosgalanakis ffc2606
Use GNUInstallDirs CMAKE_INSTALL_INCLUDEDDIR path for headers install…
Begasus 4624f50
Merge pull request #10449 from bjwtaylor/mbedtls.remove-mbedtls_verif…
valeriosetti 94f1628
Remove dependencies on mbedtls_pk_sign
279dd4a
Remove dependencies on mbedtls_pk_verify
c3e2b37
Remove mbedtls_ssl_write_handshake_msg as it now replaced by mbedtls_…
5e23093
Fix code style issues
cef9d2d
Revert change to mbedtls_pk_{sign,verify}_restartable and replace wit…
2c05672
Tidy up debug of non ext functions
1b32994
Fix style issues
b190c1b
Replace change to restartable with ext
10d471a
Correct debug return
4b4ca81
Corrected debug return
a2de40a
Change the return type of mbedtls_ssl_get_ciphersuite_sig_pk_alg to m…
bc076f9
fix style isses
a5384bd
add cast to fix IAR compiler errors
574aae2
Fix duplication of product version in CMakeLists.txt
gilles-peskine-arm 64e7d4b
format: apply suggestions (add spaces)
Cube707 32b597b
Merge pull request #10469 from Begasus/includedir
minosgalanakis 958d9d9
prepare_release.sh: Added documentation
minosgalanakis bdb1dcb
prepare_release.sh: simplified regex
minosgalanakis a2cba40
prepare_release.sh: modify submodule files recursively
minosgalanakis 4565d5d
Change the call to mbedtls_pk_verify_ext in pkcs7 to have a variable …
0035cfb
Removed unnecessary cast in mbedtls_pk_sign_ext
5f037c7
Rename mbedtls_ssl_pk_alg_from_sig to mbedtls_ssl_pk_alg_from_sig_pk_…
00b04a6
Update mbedtls_pk_sign_ext in x509write_crt.c to use mbedtls_pk_sigal…
f21e63c
Update pk_alg to use mbedtls_pk_sigalg_t and remove casts in library/…
b76c383
Update name of mbedtls_ssl_pk_alg_from_sig_pk_alg to mbedtls_ssl_pk_s…
42074c1
Rename mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg to mbedtls_ssl…
525dd91
Merge pull request #10477 from Cube707/fix/iar-compiler-warning
valeriosetti ee72a20
Merge pull request #10481 from gilles-peskine-arm/cmake-package-versi…
valeriosetti 284481f
Remove lcov.sh as this will be moved to the framework
9b4f222
Update lcov.sh paths in make files
82a48d4
Update lcov.sh patch to use CMake variable
76899ea
Update framework module
4b8d9d4
Update tf-psa-crypto submodule to include new framework
a35e332
library: debug: remove temporary fixes for RSA key handling
valeriosetti 910bf4b
tests: suite_x509parse: remove temporary fixes
valeriosetti 18f2661
Merge pull request #10491 from valeriosetti/issue10229
gilles-peskine-arm 00d579e
Merge pull request #10439 from bjwtaylor/remove-all-non-ext-apis
valeriosetti 5dae448
Merge pull request #10462 from minosgalanakis/bugfix/update_prepare_r…
ronald-cron-arm 666fa2d
ssl_msg.c: change log level for record checking
JuhaPekkaa 5f4cbcd
ssl_tls12: change log level for ECDH computation
JuhaPekkaa a6e59a9
Merge pull request #10450 from bjwtaylor/move-lcov
mpg 1f2f6fc
framework: update reference
valeriosetti 148bc11
Merge pull request #10498 from valeriosetti/issue435-part2-mbedtls
mpg 3a0868b
Merge pull request #10496 from JuhaPekkaa/juke/change-loglevel
mpg 808ed12
Move abi_check.py into the framework
bensze01 cbf740f
Merge branch mbedtls/development into abicheck-port
bensze01 e46d3c2
Fix import path
bensze01 3f06cd4
Fix reporting invalid arguments
bensze01 499a9be
Revert "Prevent unnecessary submodule fetches"
bensze01 1fc71a3
Remove dead code related to the old crypto submodule
bensze01 5e44f82
Log output of failed subprocesses
bensze01 d0ee3cb
Build library using CMake
bensze01 c1b1d5f
Detect soname clashes
bensze01 3d9ceef
Allow calling abi_check.py from tf-psa-crypto
bensze01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: the logic is hard to follow. I'd prefer the code to follow the logical structure: