5.2.1.7. ECDH Example¶
This project demonstrates generating a ECDH key using SSS APIs.
Refer - simw-top/sss/ex/ecdh/ex_sss_ecdh.c
5.2.1.7.1. Prerequisites¶
Build Plug & Trust middleware stack. (Refer Building / Compiling)
5.2.1.7.2. About the Example¶
This example generates a ECDH key.
- It uses the following APIs and data types:
5.2.1.7.3. Console output¶
If everything is successful, the output will be similar to:
App :INFO :Running ECDH Example ex_sss_ecdh.c
App :INFO :ECDH successful !!!
App :INFO :ECDH derive Key (Len=32)
C2 EA 1C 13 7D 30 F7 DA 65 1E B3 DB 7A F1 CF 42
DF 38 B2 E6 22 41 2B 5B BB DC F5 10 8E D5 69 CB
App :INFO :ex_sss_ecdh Example Success !!!...
App :INFO :ex_sss Finished