Skip to content

Commit 737c549

Browse files
kojo1danielinux
authored andcommitted
Add tools/format-conv/der2raw
1 parent 030073d commit 737c549

4 files changed

Lines changed: 751 additions & 0 deletions

File tree

tools/format-conv/Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
WOLFDIR=../../lib/wolfssl/
3+
WOLFBOOTDIR = ../..
4+
5+
CFLAGS= -DWOLFSSL_USER_SETTINGS -I$(WOLFDIR) -I.
6+
7+
# Source files
8+
SRC=$(WOLFDIR)wolfcrypt/src/asn.c \
9+
$(WOLFDIR)wolfcrypt/src/rsa.c \
10+
$(WOLFDIR)wolfcrypt/src/ecc.c \
11+
$(WOLFDIR)wolfcrypt/src/aes.c \
12+
$(WOLFDIR)wolfcrypt/src/sp_c32.c \
13+
$(WOLFDIR)wolfcrypt/src/sp_int.c \
14+
$(WOLFDIR)wolfcrypt/src/sha256.c \
15+
$(WOLFDIR)wolfcrypt/src/sha.c \
16+
$(WOLFDIR)wolfcrypt/src/hash.c \
17+
$(WOLFDIR)wolfcrypt/src/hmac.c \
18+
$(WOLFDIR)wolfcrypt/src/memory.c \
19+
$(WOLFDIR)wolfcrypt/src/random.c \
20+
$(WOLFDIR)wolfcrypt/src/wolfmath.c \
21+
$(WOLFDIR)wolfcrypt/src/logging.c \
22+
$(WOLFDIR)wolfcrypt/src/coding.c \
23+
$(WOLFDIR)wolfcrypt/src/pwdbased.c \
24+
$(WOLFDIR)wolfcrypt/src/wc_port.c \
25+
$(WOLFDIR)wolfcrypt/src/wc_encrypt.c \
26+
27+
all: der2raw
28+
29+
der2raw: $(SRC) der2raw.c
30+
$(CC) -o der2raw der2raw.c $(SRC) $(CFLAGS)
31+
32+
clean:
33+
rm *.o der2raw
34+

0 commit comments

Comments
 (0)