projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1611235
)
crypto: make mod_exp_sw() static
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 19 Jan 2020 18:48:04 +0000
(19:48 +0100)
committer
Tom Rini
<trini@konsulko.com>
Sat, 25 Jan 2020 17:04:36 +0000
(12:04 -0500)
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>
drivers/crypto/rsa_mod_exp/mod_exp_sw.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/rsa_mod_exp/mod_exp_sw.c
b/drivers/crypto/rsa_mod_exp/mod_exp_sw.c
index 5a098f83cc3654e9ae1c3bd631116023781c6ba5..46b9f1825cce94dc00f06fee5799cf6113328958 100644
(file)
--- 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;