-
Notifications
You must be signed in to change notification settings - Fork 16
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
Move some test helpers to framework repository #6
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Kusumit Ghoderao <[email protected]>
Signed-off-by: Kusumit Ghoderao <[email protected]>
No semantic change. Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
More consistent use of mbedtls_ct_memcmp
…hort_buffer Fix buffer overread in mbedtls_ssl_decrypt_buf with stream cipher
PBKDF2: test output_key
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Document driver only hashes (overdue)
…opment-restricted-merge-20230925 Conflicts: * `include/mbedtls/build_info.h`: a new fragment to auto-enable `MBEDTLS_CIPHER_PADDING_PKCS7` was added in c9f4040 in `development-restricted`. In `development`, this section of the file has moved to `include/mbedtls/config_adjust_legacy_crypto.h`. * `library/bignum.c`: function name change in `development-restricted` vs comment change in development. The comment change in `development` is not really relevant, so just take the line from `development-restricted`.
Mbedtls 3.5.0rc0 pr DO NOT MERGE
Signed-off-by: Valerio Setti <[email protected]>
Signed-off-by: Jerry Yu <[email protected]>
Signed-off-by: Yanray Wang <[email protected]>
…DING Signed-off-by: Valerio Setti <[email protected]>
…PSA_WANT symbols Signed-off-by: Valerio Setti <[email protected]>
…CIPHER_C A new internal function is added to get cipher's info (mode, key bits and iv len) without relying on CIPHER_C. This function is basically a lookup table used only for test purposes. Signed-off-by: Valerio Setti <[email protected]>
…rms() Use !USE_PSA_CRYPTO instead. Signed-off-by: Valerio Setti <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
Clean up curves handling in libtestdriver1 config
[G2] Make TLS work without Cipher
Signed-off-by: Pengyu Lv <[email protected]>
Done by commands: ``` sed -i "s/MBEDTLS_\(AES\|CAMELLIA\|ARIA\|CHACHAPOLY\)_C/MBEDTLS_SSL_HAVE_\1/g" tests/{suites,include,src}/**/*ssl* sed -i "s/MBEDTLS_\(GCM\|CCM\)_C/MBEDTLS_SSL_HAVE_\1/g" tests/{suites,include,src}/**/*ssl* sed -i "s/MBEDTLS_CIPHER_MODE_\(CBC\)/MBEDTLS_SSL_HAVE_\1/g" tests/{suites,include,src}/**/*ssl* ``` Signed-off-by: Pengyu Lv <[email protected]>
git revert v3.5.0..v3.5.1 git rebase to combine the resulting revert commits Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
… symbols Signed-off-by: Valerio Setti <[email protected]>
…ead-tls [G3] Driver-only cipher+aead: TLS: main test suite
Clean up libtestdriver1 config: unconditonal removals
…tion-option Invert and rename buffer protection config option
Signed-off-by: Ryan Everett <[email protected]>
Signed-off-by: Ryan Everett <[email protected]>
Add ALPN information in session tickets
Add testing for concurrently loading/using/destroying the same key
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Minos Galanakis <[email protected]>
…lopment-restricted-merge-19032024 Merge development on restricted 10/03/2024
Mbedtls 3.6.0 Release Candidate
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
3c76996
to
46663d5
Compare
46663d5
to
e8a373a
Compare
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.
Reproduced locally with the same result, LGTM!
Guard ticket specific TLS 1.3 function with macro
- "in-driver" test should depend on the present of a driver. - add new counter in key manangement driver test hook which counts the calls of generate_key. - We only care about the hits when processing `psa_generate_key`. Signed-off-by: Pengyu Lv <[email protected]>
Fix wrong dependencies in test cases
e8a373a
to
60fb60c
Compare
[Recreated from latest development due to bitrot] |
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.
LGTM
@@ -0,0 +1,23 @@ | |||
/* aes_alt.h with dummy types for MBEDTLS_AES_ALT */ |
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.
alt-dummy
is only ever going to apply to 3.6, not to 4.0 or tf-psa-crypto. So I think it should stay in 3.6. (I would normally treat it as framework material, I'm making an exception solely because it's only ever going to apply to a single consuming branch.)
Move some files from
tests/src
andtests/include/test
into the framework repo.Synchronized with: Mbed-TLS/mbedtls#8992