-
Notifications
You must be signed in to change notification settings - Fork 3k
Mbed Crypto Tests #8754
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
Mbed Crypto Tests #8754
Conversation
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.
OK
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.
Fix the license
@@ -0,0 +1,301 @@ | |||
#include <stdio.h> |
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.
add license header please (with SPDX identifier)
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.
License added.
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.
@0xc0170 , a license was added so I moved this PR to CI, please check that the license is ok with you.
CI can't run on this as is, waiting for preceding PR (mbedTLS PR) |
@itayzafrir @avolinski : this cant run to due to a build issue: |
We would like to rerun CI for this PR, look at the failures |
All the PRs need to be engineering ready (marked as "needs: CI") by the end of the day (Austin time). Otherwise it won't make 5.11 and will need to come in the next release (5.12 for features, 5.11.1 for fixes and new platforms). |
@itayzafrir Fyi, this still needs work. However, since this is just test additions, at worst, this could be mobed to 5.11.1 |
Add tests setup code and random bytes generator test.
5cabefd
to
84e8705
Compare
* Add support for entropy injection * Move psa_crypto_init & mbedtls_psa_crypto_free to setup & teardown handlers * Skip test_crypto_asymmetric_encrypt_decrypt if RSA generation is not supported
84e8705
to
1431e21
Compare
@itayzafrir Is this still in progress (should it be needs: work) or ready for CI? |
Hi @0xc0170, some work was done over the past couple of days so I believe this is ready for CI. |
@Patater Still happy with the latest updates? I'll set this as needs: CI (might take a day to get in CI as there are still 5.11rc PR in the CI ) |
CI started. |
Test run: SUCCESSSummary: 3 of 3 test jobs passed |
Looks like this PR had some build issues with one of the exporters. Follow this link to access the log failures: http://mbed-os-ci.s3-website-eu-west-1.amazonaws.com/?prefix=jenkins-ci/builds/exporter/8754/3/uvision5/FAIL/ One of the build failures:
|
@cmonr That failure looks entirely unrelated to the contents of this PR, as this PR does not touch |
That is correct, reported internally MBEDOSTEST-353, this is uvision5 CI issue |
Exporters restarted |
Description
Add mbed-crypto basic functionality tests to mbed-os/TESTS/mbed-crypto/sanity directory.
This PR depends on the PR for the upcoming mbedtls release for mbed-os version 5.11.
Note this PR cannot be compiled or tested until mbedtls has been merged into mbed-os.
Pull request type