[PATCH 6.7 043/641] crypto: rsa - add a check for allocation failure