From: Vakul Garg vakul.garg@nxp.com Date: Sun, 16 Sep 2018 10:04:28 +0530
A number of tls selftests rely upon recv() to return an exact number of data bytes. When tls record crypto is done using an async accelerator, it is possible that recv() returns lesser than expected number bytes. This leads to failure of many test cases. To fix it, MSG_WAITALL has been used in flags passed to recv() syscall.
Signed-off-by: Vakul Garg vakul.garg@nxp.com
Applied.