[PATCH 5.10 128/146] cfg80211: make certificate generation more robust