[PATCH 6.6 042/583] crypto: rsa - add a check for allocation failure