From: Heinrich Schuchardt Date: Sun, 19 Jan 2020 18:48:04 +0000 (+0100) Subject: crypto: make mod_exp_sw() static X-Git-Tag: v2020.04-rc1~8^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94a8e83a60bd82e6b3059bddd56187691b782896;p=oweals%2Fu-boot.git crypto: make mod_exp_sw() static Function mod_exp_sw() is only used via the operators of the uclass. It is not defined in any include. Make mod_exp_sw() static. Signed-off-by: Heinrich Schuchardt --- diff --git a/drivers/crypto/rsa_mod_exp/mod_exp_sw.c b/drivers/crypto/rsa_mod_exp/mod_exp_sw.c index 5a098f83cc..46b9f1825c 100644 --- a/drivers/crypto/rsa_mod_exp/mod_exp_sw.c +++ b/drivers/crypto/rsa_mod_exp/mod_exp_sw.c @@ -9,8 +9,8 @@ #include #include -int mod_exp_sw(struct udevice *dev, const uint8_t *sig, uint32_t sig_len, - struct key_prop *prop, uint8_t *out) +static int mod_exp_sw(struct udevice *dev, const uint8_t *sig, uint32_t sig_len, + struct key_prop *prop, uint8_t *out) { int ret = 0;