Hi Gopi,


If you know what you are doing and absolutely sure that your application doesn’t need encryption, you can try using the “MBEDTLS_CIPHER_NULL_CIPHER“ option for enabling ciphersuites without encryption:





From: Subramanian Gopi Krishnan via mbed-tls <mbed-tls@lists.trustedfirmware.org>
Date: Wednesday, 2 February 2022 at 19:53
To: mbed-tls@lists.trustedfirmware.org <mbed-tls@lists.trustedfirmware.org>
Cc: V.B. Yugandhar <vb.yugandhar@kone.com>
Subject: [mbed-tls] TLS Only for Data Authentication



I am developing TLS client and server for embedded systems. Considering the operational efficiency, it is sufficient to have data authentication. Is it possible to setup a TLS communication with data authentication and without encryption?


Consider a PLC network,

  1. Within physical secure zone.
  2. Requires faster data transfer.
  3. Data are not confidential, but must be cryptographically authenticated.



Gopi Krishnan