You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
750 B
39 lines
750 B
################################################################################ |
|
# |
|
# Copyright (C) 2017 by Intel Corporation, All Rights Reserved. |
|
# |
|
# Cryptographic Primitives Makefile. |
|
# |
|
################################################################################ |
|
|
|
include ../config.mk |
|
|
|
# Edit the OBJS content to add/remove primitives needed from TinyCrypt library: |
|
OBJS:=aes_decrypt.o \ |
|
aes_encrypt.o \ |
|
cbc_mode.o \ |
|
ctr_mode.o \ |
|
ctr_prng.o \ |
|
hmac.o \ |
|
hmac_prng.o \ |
|
sha256.o \ |
|
ecc.o \ |
|
ecc_dh.o \ |
|
ecc_dsa.o \ |
|
ccm_mode.o \ |
|
cmac_mode.o \ |
|
utils.o |
|
|
|
DEPS:=$(OBJS:.o=.d) |
|
|
|
all: libtinycrypt.a |
|
|
|
libtinycrypt.a: $(OBJS) |
|
$(AR) $(ARFLAGS) $@ $^ |
|
|
|
.PHONY: clean |
|
|
|
clean: |
|
-$(RM) *.exe $(OBJS) $(DEPS) *~ libtinycrypt.a |
|
|
|
-include $(DEPS)
|
|
|