mirror of
https://github.com/eclipse/tinydtls.git
synced 2025-10-14 03:10:09 +08:00

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>
10 lines
283 B
Makefile
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
|
|
|