Search Notebooks
MBED as a Cryptographic Device

Page owner: user Anders Rundgren

Created 15 Dec 2009.
Last updated 29 Dec 2009

MBED as a Cryptographic Device

Page last updated 29 Dec 2009, by   user Anders Rundgren   tag No tags | 0 replies  

The idea is to implement http://webpki.org/papers/keygen2/secure-key-store.pdf as a PoC (Proof-of-Concept) system.

A early version of an OpenSSL AES, SHA1, SHA256, and HMAC C++ port can be found at crypto

If you connect MBED to a terminal emulator you should get the following output:

Plaintext
0000: 54 68 65 20 71 75 69 63 6B 20 62 72 6F 77 6E 20   'The quick brown '
0010: 66 6F 78 20 6A 75 6D 70 65 64 20 6F 76 65 72 20   'fox jumped over '
0020: 74 68 65 20 6C 61 7A 79 20 62 65 61 72            'the lazy bear'

Ciphertext
0000: AA 15 15 A1 62 4A A5 33 20 28 64 2C 8B AF B7 B7   '....bJ.3 (d,....'
0010: F9 D8 8C A6 4F 21 E1 B2 4F 43 AF EB 62 57 9D AA   '....O!..OC..bW..'
0020: E7 52 23 7D 37 34 73 FC D9 FF F1 35 3B 85 B4 11   '.R#}74s....5;...'

Restored Plaintext
0000: 54 68 65 20 71 75 69 63 6B 20 62 72 6F 77 6E 20   'The quick brown '
0010: 66 6F 78 20 6A 75 6D 70 65 64 20 6F 76 65 72 20   'fox jumped over '
0020: 74 68 65 20 6C 61 7A 79 20 62 65 61 72            'the lazy bear'

 


0 comments

Please log in to post a comment.