mbedtls
mbedtls copied to clipboard
TLS: check RNG when calling mbedtls_ssl_setup()
Description
Fix: #4911
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
- [x] changelog not required
- [x] backport
ssl_conf_checkwas introduced in TLS1.3, so I think there is no need to do ambedtls-2.28backport unless reviewer or gatakeeper thinks we should add similar check when callingmbedtls_ssl_setup()inmbedtls-2.28. - [x] tests not required
@ronald-cron-arm You want to make some changes to this, right? I'll mark as DO-NOT-MERGE so it doesn't get merged before then!
@tom-cosgrove-arm @waleed-elmelegy-arm I've pushed my two changes, please have another look, thanks.
@waleed-elmelegy-arm please have another look.