mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 16:57:41 -04:00
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. |
||
---|---|---|
.. | ||
DemoTasks | ||
common_demo_include.h | ||
core_pkcs11_config.h | ||
core_sntp_config.h | ||
core_sntp_demo.sln | ||
demo_config.h | ||
FreeRTOSConfig.h | ||
FreeRTOSIPConfig.h | ||
main.c | ||
mbedtls_config.h | ||
readme.url | ||
WIN32.vcxproj | ||
WIN32.vcxproj.filters |
[{000214A0-0000-0000-C000-000000000046}] Prop3=19,11 [InternetShortcut] IDList= URL=https://www.freertos.org/sntp/sntp-demo.html