Skip to content

Test clear text writing to and reading from a slot #5

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 4 commits into from
Jun 25, 2019

Conversation

AndrzejKurek
Copy link
Contributor

@AndrzejKurek AndrzejKurek commented Jun 11, 2019

This PR adds a test exercising clear text writes & reads from a slot. Slot 8 has been chosen as it is configured to contain arbitrary data, and clear text writes/reads are enabled on it. Please only review the two read/write commits.

Prerequisites:

  • Hardware with a locked config zone and locked data & OTP zone. Note: This does not mean that the data in data slots cannot be modified - it means that the data slots behave according to the policies set by the configuration. This lock is required in order for clear text reads to work from the device.
  • Add support for writing to and reading from a slot mbed-os-atecc608a#6.

Copy link

@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.

Ok, but I don't understand what this feature is for.

Generate random data, write it to a slot and verify with a read
@AndrzejKurek AndrzejKurek force-pushed the write_read_cleartext_slot branch from fd5ad8d to eb22bfe Compare June 19, 2019 08:50
@Patater Patater merged commit d027f92 into ARMmbed:master Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants