FreeRTOS-Kernel/FreeRTOS-Plus/Demo/coreSNTP_Windows_Simulator
Archit Aggarwal 5a41846f05
Add authentication support to coreSNTP demo (#625)
Update the coreSNTP demo to showcase use of symmetric key algorithm of authentication scheme for securing SNTP communication between client and server.
The demo uses the AES-128-CMAC algorithm for the generating Message Authentication Code for the client on sending the SNTP time request to server as well as validating the server response received by verifying if the payload present authentication code can be generated. Use of an authentication mechanism in SNTP communication protects against server spoofing attacks as well as man-in-the-middle attacks of server response modification.

The demo uses corePKCS11 library for the AES-CMAC operations. Also, the demo adds functionality of generating random number, using corePKCS11, for sending as a parameter to the Sntp_SendTimeRequest API.

Note: For symmetric key based security mechanism to be protective against malicious, it is IMPORTANT to securely pre-share the symmetric key between client and server.
2021-06-16 10:22:06 -07:00
..
DemoTasks Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00
common_demo_include.h Add unauthenticated mode demo for coreSNTP library for time synchronization (#621) 2021-06-10 13:42:42 -07:00
core_pkcs11_config.h Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00
core_sntp_config.h Add unauthenticated mode demo for coreSNTP library for time synchronization (#621) 2021-06-10 13:42:42 -07:00
core_sntp_demo.sln Add unauthenticated mode demo for coreSNTP library for time synchronization (#621) 2021-06-10 13:42:42 -07:00
demo_config.h Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00
FreeRTOSConfig.h Add unauthenticated mode demo for coreSNTP library for time synchronization (#621) 2021-06-10 13:42:42 -07:00
FreeRTOSIPConfig.h Add unauthenticated mode demo for coreSNTP library for time synchronization (#621) 2021-06-10 13:42:42 -07:00
main.c Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00
mbedtls_config.h Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00
readme.url Add unauthenticated mode demo for coreSNTP library for time synchronization (#621) 2021-06-10 13:42:42 -07:00
WIN32.vcxproj Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00
WIN32.vcxproj.filters Add authentication support to coreSNTP demo (#625) 2021-06-16 10:22:06 -07:00

[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,11
[InternetShortcut]
IDList=
URL=https://www.freertos.org/sntp/sntp-demo.html