[PATCH 4.19 143/293] crypto: public_key: fix overflow during implicit conversion