Skip to content

psa: Add backwards compatible error codes #67

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

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

Patater
Copy link
Contributor

@Patater Patater commented Feb 21, 2019

Add deprecated error codes to help transition between the previous
version of the PSA Crypto specification and the current one.

@Patater Patater added the enhancement New feature or request label Feb 21, 2019
@Patater Patater added the needs: ci Needs a passing full CI run label Feb 21, 2019
@Patater
Copy link
Contributor Author

Patater commented Feb 21, 2019

This is having issues with psa_constant_names right now, due to duplicate cases getting generated.

Copy link
Collaborator

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but this should go into crypto_extra.h, not crypto_values.h.

yanesca
yanesca previously approved these changes Feb 21, 2019
Add deprecated error codes to help transition between the previous
version of the PSA Crypto specification and the current one.
@Patater Patater force-pushed the deprecated-psa-errors branch from 3cac665 to 5e6d24c Compare February 21, 2019 11:49
@Patater Patater added the needs: review The pull request is ready for review. This generally means that it has no known issues. label Feb 21, 2019
@Patater
Copy link
Contributor Author

Patater commented Feb 21, 2019

OK to review.

CI is failing a TLS-using-PSA for chachapoly test. Unsure why TLS is trying to use PSA for chachapoly right now, since that's not supported in Mbed Crypto yet. Unsure why we didn't see this previously.

@Patater
Copy link
Contributor Author

Patater commented Feb 21, 2019

Discussed with @hanno-arm. He's seen this before and "Session resume using cache, DTLS: timeout > delay" is a known flaky test. The error is not due to use of chachapoly, but due to the alert and client hello messages getting coalesced. The server expects the alert and handles it, but never sees the subsequent client hello because it is only waiting for that hello without a timeout of 0.

@Patater Patater removed needs: ci Needs a passing full CI run needs: review The pull request is ready for review. This generally means that it has no known issues. labels Feb 21, 2019
@Patater Patater merged commit c37fff9 into ARMmbed:development Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants