5.2.1.8. ECDAA Example¶
This project demonstrates Elliptic Curve Cryptography ECDAA sign operation using SSS APIs.
Refer - simw-top/sss/ex/ecdaa/ex_sss_ecdaa.c
5.2.1.8.1. Prerequisites¶
Build Plug & Trust middleware stack. (Refer Building / Compiling)
5.2.1.8.2. About the Example¶
This example does a elliptic curve cryptography signing and verify operation.
- It uses the following APIs and data types:
kAlgorithm_SSS_ECDAA
fromsss_algorithm_t
kMode_SSS_Sign
fromsss_mode_t
5.2.1.8.3. Console output¶
If everything is successful, the output will be similar to:
App :INFO :Running Elliptic Curve Cryptography Example ex_sss_ecdaa.c
App :INFO :Do Signing
App :INFO :digest (Len=32)
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
App :INFO :signature (Len=70)
30 44 02 20 00 01 02 03 04 05 06 07 08 09 0A 0B
0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B
1C 1D 1E 1F 02 20 C7 2B 67 E4 09 FA 22 0E E5 9C
22 3B CB 2C E2 9C 78 76 DB 1D F3 C3 4B E4 83 D4
42 79 92 50 74 39
App :INFO :Signing Successful !!!
App :INFO :ex_sss_ecdaa Example Success !!!...
App :INFO :ex_sss Finished