Files
tinydtls/Makefile.tinydtls
Jon Shallow 35cdb3d356 Separate out rijndael.c into primary and wrapper functions
Some platforms already provide the primary rijndael functions, but do not
have the specific TinyDTLS wrapper functions.

This change is to split out the primary (i.e. common) rijndael functions
(leave in rijndael.c) and the TinyDTLS wrapper functions (put into
rijndael_wrap.c) and removing the appropriate #ifdef DTLS_EXT_RIJNDAEL.

.gitignore:

Ignore .so library file

Makefile.in:
Makefile.tinydtls:
aes/Makefile.in:
aes/Makefile.riot:

Add in rijndael_wrap.[co] as appropriate.

aes/rijndael.c:

Remove the wrapper functions.
Make rijndaelDecrypt() non static.

aes/rijndael.h:

Add in rijndaelDecrypt() definition if WITH_AES_DECRYPT

aes/rijndael_wrap.c: (New)

Add in the wrapper functions.

Signed-off-by: Jon Shallow <supjps-libcoap@jpshallow.com>
2019-04-26 09:53:33 +01:00

10 lines
283 B
Makefile

# This is a -*- Makefile -*-
CFLAGS += -DDTLSv12 -DWITH_SHA256
tinydtls_src = dtls.c crypto.c hmac.c rijndael.c rijndael_wrap.c sha2.c ccm.c netq.c ecc.c dtls_time.c peer.c session.c dtls_prng.c
# This activates debugging support
# CFLAGS += -DNDEBUG
tinydtls_src += dtls_debug.c