diff mbox series

[02/12] Rename swupdate_decrypt to be consistent

Message ID 20231016165740.1374614-2-stefano.babic@swupdate.org
State Accepted
Delegated to: Stefano Babic
Headers show
Series [01/12] Cleanup: use #pragma once in all headers | expand

Commit Message

Stefano Babic Oct. 16, 2023, 4:57 p.m. UTC
Decrypt functions are in files with the name of the crypto engine
(swupdate=decrypt_mbedtls, etc.). Rename swupdate_decrypt to
swupdate_decrypt_openssl for consistency.

Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
---
 corelib/Makefile                                           | 2 +-
 corelib/{swupdate_decrypt.c => swupdate_decrypt_openssl.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename corelib/{swupdate_decrypt.c => swupdate_decrypt_openssl.c} (100%)
diff mbox series

Patch

diff --git a/corelib/Makefile b/corelib/Makefile
index f5dda73b..0566f888 100644
--- a/corelib/Makefile
+++ b/corelib/Makefile
@@ -11,7 +11,7 @@  lib-$(CONFIG_HASH_VERIFY)	+= verify_signature.o
 ifeq ($(CONFIG_PKCS11),y)
 lib-$(CONFIG_ENCRYPTED_IMAGES)	+= swupdate_decrypt_pkcs11.o
 else
-lib-$(CONFIG_ENCRYPTED_IMAGES)	+= swupdate_decrypt.o
+lib-$(CONFIG_ENCRYPTED_IMAGES)	+= swupdate_decrypt_openssl.o
 endif
 lib-$(CONFIG_SIGALG_RAWRSA)	+= swupdate_rsa_verify.o
 lib-$(CONFIG_SIGALG_RSAPSS)	+= swupdate_rsa_verify.o
diff --git a/corelib/swupdate_decrypt.c b/corelib/swupdate_decrypt_openssl.c
similarity index 100%
rename from corelib/swupdate_decrypt.c
rename to corelib/swupdate_decrypt_openssl.c