[PATCH 5.4 018/260] crypto: public_key: fix overflow during implicit conversion