-
Notifications
You must be signed in to change notification settings - Fork 18
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
register_se_driver issue and tests failure #74
Comments
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. |
This was referenced Sep 8, 2021
I've made some progress and fixed the registration issue. See ARMmbed/mbed-os-atecc608a#18 and #75 Now only |
pennam
changed the title
register_se_driver issue and failing tests
register_se_driver issue and tests failure
Sep 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of defect
I'm trying to run this example on PORTENTA_H7 board. The board has an integrated ATECC608A (no external connection) and communication works fine. However all psa test are failing. This is the output from this example:
test_hash_sha256
is working correctly because is calling directlyatecc608a_hash_sha256
function not going through psa API. I thought the problem could be a wrong registration parameter here:mbed-os-example-atecc608a/atecc608a/main.c
Line 613 in 4d07850
PSA_ATECC608A_LIFETIME
, in fact with this configurationpsa_get_se_driver_entry
will fail because the location value is 0.https://github.com/ARMmbed/mbed-os/blob/d1f02f3078b405624f7be0cd824cdf85d472fa34/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/mbedtls/psa_crypto_se.c#L75-L85
I'm trying to find the correct way to fix it but i need some help.
Target(s) affected by this defect ?
I've tested ti on PORTENTA_H7, but i think this issue is affecting other targets
Toolchain(s) (name and version) displaying this defect ?
gcc-arm-none-eabi-9-2019-q4-major
What version of Mbed-os are you using (tag or sha) ?
https://github.com/ARMmbed/mbed-os/#3377f083b3a6bd7a1b45ed2cea5cf083b9007527
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
How is this defect reproduced ?
Flash and run the example
The text was updated successfully, but these errors were encountered: