Small edit

This commit is contained in:
Irit Arkin 2015-08-27 15:47:00 +01:00
parent 1385a289f4
commit c4d9d32b62

View File

@ -4,14 +4,14 @@ This application performs authenticated encryption and authenticated decryption
## Pre-requisites
To build and run this example the following requirements are necessary:
To build and run this example you must have:
* A computer with the following software installed:
* [CMake](http://www.cmake.org/download/).
* [yotta](https://github.com/ARMmbed/yotta). Please note that **yotta has its own set of dependencies**, listed in the [installation instructions](http://armmbed.github.io/yotta/#installing-on-windows).
* [Python](https://www.python.org/downloads/).
* [ARM GCC toolchain](https://launchpad.net/gcc-arm-embedded).
* A serial terminal emulator (e.g. screen, pySerial, cu).
* [The ARM GCC toolchain](https://launchpad.net/gcc-arm-embedded).
* A serial terminal emulator (Like screen, pySerial and cu).
* An [FRDM-K64F](http://developer.mbed.org/platforms/FRDM-K64F/) development board, or another board supported by mbed OS (in which case you'll have to substitute frdm-k64f-gcc with the appropriate target in the instructions below).
* A micro-USB cable.
* If your OS is Windows, please follow the installation instructions [for the serial port driver](https://developer.mbed.org/handbook/Windows-serial-configuration).
@ -36,9 +36,15 @@ To build and run this example the following requirements are necessary:
5. Copy `build/frdm-k64f-gcc/test/mbedtls-test-example-authcrypt.bin` to your mbed board and wait until the LED next to the USB port stops blinking.
6. Start the serial terminal emulator and connect to the virtual serial port presented by FRDM-K64F. For settings, use 115200 baud, 8N1, no flow control. **Warning:** for this example, the baud rate is not the default 9600, it is 115200.
6. Start the serial terminal emulator and connect to the virtual serial port presented by FRDM-K64F.
7. Press the reset button on the board.
Use the following settings:
* 115200 baud (not 9600).
* 8N1.
* No flow control.
7. Press the Reset button on the board.
8. The output in the terminal window should look like:
@ -59,4 +65,4 @@ To build and run this example the following requirements are necessary:
{{end}}
```
The actual output for the ciphertext line will vary on each run due to the use of a random nonce in the encryption process.
The actual output for the ciphertext line will vary on each run because of the use of a random nonce in the encryption process.