-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
307 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Makefile for tinydtls | ||
# | ||
# Copyright (C) 2011--2012 Olaf Bergmann <[email protected]> | ||
# Copyright (C) 2011--2014 Olaf Bergmann <[email protected]> | ||
# | ||
# Permission is hereby granted, free of charge, to any person | ||
# obtaining a copy of this software and associated documentation | ||
|
@@ -42,7 +42,7 @@ package = @PACKAGE_TARNAME@-@PACKAGE_VERSION@ | |
install := cp | ||
|
||
# files and flags | ||
SOURCES:= dtls.c crypto.c ccm.c hmac.c netq.c peer.c dtls_time.c | ||
SOURCES:= dtls.c crypto.c ccm.c hmac.c netq.c peer.c dtls_time.c session.c | ||
ifneq ("@NDEBUG@", "1") | ||
SOURCES += debug.c | ||
endif | ||
|
@@ -51,7 +51,8 @@ ifeq ("@DTLS_ECC@", "1") | |
OBJECTS += ecc/ecc.o | ||
endif | ||
HEADERS:=dtls.h hmac.h debug.h config.h uthash.h numeric.h crypto.h global.h ccm.h \ | ||
netq.h t_list.h alert.h utlist.h prng.h peer.h state.h dtls_time.h | ||
netq.h t_list.h alert.h utlist.h prng.h peer.h state.h dtls_time.h session.h \ | ||
tinydtls.h | ||
CFLAGS:=-Wall -pedantic -std=c99 @CFLAGS@ | ||
CPPFLAGS:=@CPPFLAGS@ -DDTLS_CHECK_CONTENTTYPE | ||
SUBDIRS:=tests doc sha2 aes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* dtls -- a very basic DTLS implementation | ||
* | ||
* Copyright (C) 2011--2013 Olaf Bergmann <[email protected]> | ||
* Copyright (C) 2011--2014 Olaf Bergmann <[email protected]> | ||
* | ||
* Permission is hereby granted, free of charge, to any person | ||
* obtaining a copy of this software and associated documentation | ||
|
@@ -25,6 +25,8 @@ | |
|
||
#include <string.h> | ||
|
||
#include "tinydtls.h" | ||
#include "config.h" | ||
#include "global.h" | ||
#include "numeric.h" | ||
#include "ccm.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.