crypto: make mod_exp_sw() static
PATCH 1/1 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 <[email protected]>
--- drivers/crypto/rsa_mod_exp/mod_exp_sw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/rsa_mod_exp/mod_exp_sw.c +2 -2
@@ -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 ;
--
2.24.1
PATCH 1/1 crypto: make mod_exp_sw() static
Quoted 6 lines · Heinrich Schuchardt
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 <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200125/0ef9dcf6/attachment.sig>