CHERIoT-Platform / network-stack

5 stars 1 forks source link

Add `tls_connection_receive_preallocated` to TLS. #1

Closed hlef closed 7 months ago

hlef commented 7 months ago

This API mirrors the one newly introduced for sockets in e925814b79e314c1041a90bb93ef2f49f1e7cb34.

It corresponds to concrete needs in the network stack, e.g., for the MQTT library.

While at it, add a comment to the socket code to better explain the use of a zero timeout.