summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-08 22:05:44 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-18 19:08:32 +0200
commitd097742155873c8597f1b5adcce95fa17f135002 (patch)
treeeabe80100620ccae6eef018d49febe4db54735f2 /utils
parent2037b837f81485770fcb066adea70b1d22e9b727 (diff)
sbtools: Change crypto wrapper implementation to C.
There's nothing C++ left. Change-Id: I98d8406215287c02b56029ed7c0e2b0e645bbcf1
Diffstat (limited to 'utils')
-rw-r--r--utils/imxtools/sbtools/Makefile3
-rw-r--r--utils/imxtools/sbtools/crypto.c (renamed from utils/imxtools/sbtools/crypto.cpp)0
2 files changed, 0 insertions, 3 deletions
diff --git a/utils/imxtools/sbtools/Makefile b/utils/imxtools/sbtools/Makefile
index b1d0313f77..64a9651f4a 100644
--- a/utils/imxtools/sbtools/Makefile
+++ b/utils/imxtools/sbtools/Makefile
@@ -15,9 +15,6 @@ all: $(BINS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
-%.o: %.cpp
- $(CXX) $(CXXFLAGS) -c -o $@ $<
-
sbtoelf: sbtoelf.o crc.o crypto.o xorcrypt.o dbparser.o elf.o misc.o sb.o sb1.o $(TOMCRYPT_DIR)/librbtomcrypt.a
$(LD) -o $@ $^ $(LDFLAGS)
diff --git a/utils/imxtools/sbtools/crypto.cpp b/utils/imxtools/sbtools/crypto.c
index d3ec18bd11..d3ec18bd11 100644
--- a/utils/imxtools/sbtools/crypto.cpp
+++ b/utils/imxtools/sbtools/crypto.c