Skip to content

Finish side-porting commits from mbedtls-restricted that missed the split #318

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

Conversation

gilles-peskine-arm
Copy link
Collaborator

@gilles-peskine-arm gilles-peskine-arm commented Nov 8, 2019

When we split Mbed Crypto from Mbed TLS, we missed the last few commits in the restricted branch of Mbed TLS which were quarantined security fixes. These commits are present in the git history of Mbed TLS, but their effect was cancelled by the removal of crypto files, and the commits never appeared in Mbed Crypto.

We're fixing this through 3 pull requests:

(#rNNN are private links.)

This pull request deliberately omits the addition of a run of programs/pkey/pk_sign to all.sh. While this would be desirable, it wasn't in scope of #r573, and was only added there as a non-regression test which is now performed through unit tests. A better approach to smoke-test sample programs would be through demo scripts as in Mbed-TLS/mbedtls#2698.

Goal of this PR: all the commits that had gone missing are now present in Mbed Crypto.

Internal ref: IOTCRYPT-969

@gilles-peskine-arm gilles-peskine-arm added bug Something isn't working needs: preceding PR Requires another PR to be merged first labels Nov 8, 2019
@AndrzejKurek AndrzejKurek self-requested a review November 13, 2019 07:21
@gilles-peskine-arm gilles-peskine-arm added needs: review The pull request is ready for review. This generally means that it has no known issues. and removed needs: preceding PR Requires another PR to be merged first labels Nov 13, 2019
@gilles-peskine-arm gilles-peskine-arm removed the needs: review The pull request is ready for review. This generally means that it has no known issues. label Nov 13, 2019
@gilles-peskine-arm gilles-peskine-arm merged commit 0b3dd8d into ARMmbed:development Nov 13, 2019
gilles-peskine-arm added a commit to gilles-peskine-arm/mbed-crypto that referenced this pull request Nov 15, 2019
* ARMmbed#292: Make psa_close_key(0) and psa_destroy_key(0) succeed
* ARMmbed#299: Allow xxx_drbg_set_entropy_len before xxx_drbg_seed
* ARMmbed#259: Check `len` against buffers size upper bound in PSA tests
* ARMmbed#288: Add ECDSA tests with hash and key of different lengths
* ARMmbed#305: CTR_DRBG: grab a nonce from the entropy source if needed
* ARMmbed#316: Stop transactions from being reentrant
* ARMmbed#317: getting_started: Make it clear that keys are passed in
* ARMmbed#314: Fix pk_write with EC key to use a constant size for the private value
* ARMmbed#298: Test a build without any asymmetric cryptography
* ARMmbed#284: Fix some possibly-undefined variable warnings
* ARMmbed#315: Define MBEDTLS_PK_SIGNATURE_MAX_SIZE
* ARMmbed#318: Finish side-porting commits from mbedtls-restricted that missed the split
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants