1
- # Running Mbed- Crypto examples on Mbed- OS
1
+ # Running Mbed Crypto examples on Mbed OS
2
2
This repository contains a set of examples demonstrating the compilation and use
3
- of Mbed- Crypto on Mbed- OS.
3
+ of Mbed Crypto on Mbed OS.
4
4
5
5
List of examples contained within this repository:
6
6
* Cipher encrypt/decrypt using an AES key in cipher block chain (CBC) mode with no padding using a single block.
7
7
* Cipher encrypt/decrypt using an AES key in cipher block chain (CBC) mode with PKCS7 padding using multiple blocks.
8
8
* Cipher encrypt/decrypt using an AES key in counter (CTR) mode using multiple blocks.
9
9
10
10
## Prerequisites
11
- * Install <a href =' https://github.com/ARMmbed/mbed-cli#installing-mbed-cli ' >Mbed- CLI</a >
11
+ * Install <a href =' https://github.com/ARMmbed/mbed-cli#installing-mbed-cli ' >Mbed CLI</a >
12
12
13
13
## Deploy
14
14
The following are the steps required for deployment:
15
15
* Clone this repository:
` git clone [email protected] :ARMmbed/mbed-os-example-mbed-crypto.git `
16
- * CD to ` mbed-os-example-mbed-crypto `
17
- * Fetch Mbed- OS: ` mbed deploy `
16
+ * Change your current directory: ` cd mbed-os-example-mbed-crypto`
17
+ * Fetch Mbed OS: ` mbed deploy `
18
18
19
19
## Compile
20
20
To compile the example program use ` mbed compile ` while specifying the target platform and the compiler.
@@ -26,7 +26,7 @@ Once the compilation is completed successfully a binary file will be created: `.
26
26
The following are the steps required to run the example program:
27
27
* Connect the Mbed device to your computer over USB.
28
28
* Copy the binary file (` mbed-os-example-mbed-crypto.bin ` ) to the Mbed device.
29
- * Connect to the Mbed Device using an ssh client application of your choice.
29
+ * Connect to the Mbed Device using a serial client application of your choice.
30
30
* Press the reset button on the Mbed device to run the program.
31
31
32
32
The expected output from a successful execution of the example program should be as follows:
0 commit comments