summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-19 19:48:04 +0100
committerTom Rini <trini@konsulko.com>2020-01-25 12:04:36 -0500
commit94a8e83a60bd82e6b3059bddd56187691b782896 (patch)
tree942dde9d0bd1bc59077e5a7ba754c8fb19eeddd2 /drivers/crypto
parent1611235b858abe08f9267f1fa95bc7553aa8e644 (diff)
downloadu-boot-94a8e83a60bd82e6b3059bddd56187691b782896.tar.gz
u-boot-94a8e83a60bd82e6b3059bddd56187691b782896.tar.bz2
u-boot-94a8e83a60bd82e6b3059bddd56187691b782896.zip
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/rsa_mod_exp/mod_exp_sw.c4
1 files changed, 2 insertions, 2 deletions
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 <dm.h>
#include <u-boot/rsa-mod-exp.h>
-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;