Giter Site home page Giter Site logo

mbed-os-example-attestation's Introduction

Running PSA Attestation examples on Mbed OS

This repository contains an example demonstrating the compilation and use of PSA Attestation on Mbed OS.

Example contained within this repository is inject attestation key-pair, get attetstaion token size and attetstaion token.

Prerequisites

Import

The following are the steps required to install the application:

  • Clone the repository and deploy the Mbed OS project: mbed import [email protected]:ARMmbed/mbed-os-example-attestation.git
  • Change your current directory: cd mbed-os-example-mbed-attestation

Compile

To compile the example program use mbed compile while specifying the target platform and the compiler. For example, in order to compile using the ARM GCC compiler and a K64F target platform use: mbed compile -m K64F -t GCC_ARM.

Once the compilation is completed successfully a binary file will be created: ./BUILD/K64F/GCC_ARM/mbed-os-example-mbed-attestation.bin

Program your board

  1. Connect your Mbed device to the computer over USB.
  2. Copy the binary file (mbed-os-example-mbed-attestation.bin) to the Mbed device.

Run

  1. Connect to the Mbed Device using a serial client application of your choice.
  2. Press the reset button on the Mbed device to run the program.

The expected output from a successful execution of the example program should be as follows:

Get attestation tGet attestation token:
        success!

Troubleshooting

If you have problems, you can review the documentation for suggestions on what could be wrong and how to fix it.

License and contributions

The software is provided under Apache-2.0 license. Contributions to this project are accepted under the same license. Please see contributing.md for more info.

This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide.

mbed-os-example-attestation's People

Contributors

urutva avatar patater avatar dgreen-arm avatar 0xc0170 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.