Update 'README.md'
This commit is contained in:
parent
ad2314cded
commit
b0c9e5497c
28
README.md
28
README.md
@ -1,23 +1,23 @@
|
|||||||
# openSSL-DICE
|
#Mbedtls DICE
|
||||||
Simulated implementation of DICE based on microsoft paper on dice n riot. initial implementation, later to be implemented on Jetson Xavior
|
|
||||||
|
|
||||||
|
|
||||||
Step 1 - skeletal setup
|
To run this you will need to
|
||||||
|
|
||||||
sketch roadmap of dataflow,
|
0. make install mbedtls - https://github.com/ARMmbed/mbedtls
|
||||||
lable functions,
|
|
||||||
locate input and output DS,
|
|
||||||
find appropriate openssl fns,
|
|
||||||
|
|
||||||
|
1. cd tria5
|
||||||
|
2. make two copies of this directory/code - master and slave
|
||||||
|
3. modify defines.h -
|
||||||
|
i. set SERVER_ADD to "localhost"
|
||||||
|
ii. set DFL_ID to MASTER_ID/CLIENT1_ID as required
|
||||||
|
|
||||||
|
4. make and run ./out/main on both
|
||||||
|
|
||||||
Step 2 - codify
|
on the first attempt it will fail after generating keys
|
||||||
|
|
||||||
use static value for ids, eg UDS, FW,
|
5.copy
|
||||||
|
i. from $master/../keys/Alias_pub.pem to $slave/../clientkeys/Server_pub.pem
|
||||||
|
ii. from $slave/../keys/Alias_pub.pem to $master/../clientkeys/Client1_pub.pem
|
||||||
|
|
||||||
|
6. run master and salve again (in order)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Step 3 - replace static IDs with real values
|
|
||||||
|
|
||||||
use real values from device? use rng?
|
|
||||||
|
Loading…
Reference in New Issue
Block a user