-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[Backport 3.6] Move the inclusion of crypto_sizes.h and crypto_struct.h in crypto.h #10196
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
[Backport 3.6] Move the inclusion of crypto_sizes.h and crypto_struct.h in crypto.h #10196
Conversation
That way when API are declared, the types they use are defined. This should resolve the issues related to psa_xyz_init functions returning a structure described in Mbed-TLS#7087. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
gilles-peskine-arm
left a comment
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
davidhorstmann-arm
left a comment
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, faithful backport!
|
Hey. Maybe I'm doing something wrong but this is not fixing Bug #7087 in my case. This only changes 'crypto.h' but when I tried I saw two changed files: 'crypto.h' and 'crypto_extras.h'. Both are needed to fix the MSVC build issue. But now I can't find where that 'crypto_extras.h' file was changed; it is not in that PR. |
|
Ah, I think that other changes to |
|
OK, I see that file was moved to PR258. It seems that PR is meant for another branch (development?) and does not fully work on 3.6. PR258 changes 2 files:
So just one changed file from there would be needed. |
Description
Backport of Mbed-TLS/TF-PSA-Crypto#260
PR checklist