Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Commit 2fbca49

Browse files
author
Constanza Heath
committed
Adding TinyCrypt 2.0 Documentation.
Signed-off-by: Constanza Heath <[email protected]>
1 parent d9524df commit 2fbca49

File tree

6 files changed

+230
-84
lines changed

6 files changed

+230
-84
lines changed

LICENSE

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
================================================================================
33

4-
TinyCrypt Cryptographic Library v1.0
4+
TinyCrypt Cryptographic Library
55

66
================================================================================
77

@@ -34,3 +34,29 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3434
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535

3636
================================================================================
37+
38+
Copyright (c) 2013, Kenneth MacKay
39+
All rights reserved.
40+
41+
https://github.com/kmackay/micro-ecc
42+
43+
Redistribution and use in source and binary forms, with or without modification,
44+
are permitted provided that the following conditions are met:
45+
* Redistributions of source code must retain the above copyright notice, this
46+
list of conditions and the following disclaimer.
47+
* Redistributions in binary form must reproduce the above copyright notice,
48+
this list of conditions and the following disclaimer in the documentation
49+
and/or other materials provided with the distribution.
50+
51+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
52+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
53+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
54+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
55+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
56+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
57+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
58+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
59+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
60+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
61+
62+
================================================================================

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See lib/Makefile and tests/Makefile for further configuration.
77
#
88
################################################################################
9-
include Makefile.conf
9+
include config.mk
1010

1111
all:
1212
$(MAKE) -C lib

README

+5-3
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@ The TinyCrypt Library provides an implementation for constrained devices of a
4141
minimal set of standard cryptography primitives.
4242

4343
Please, ***SEE THE DOCUMENTATION*** folder for more information on the supported
44-
cryptographic primitives and the limitations of TinyCrypt library.
44+
cryptographic primitives and the limitations of TinyCrypt library. For usage,
45+
security and technicalities, please see the corresponding header file of each
46+
cryptographic primitive.
4547

4648
================================================================================
4749

4850
Organization:
4951

50-
/lib: Cryptographic primitives source code.
52+
/lib: C source code of the cryptographic primitives.
5153
/tests: Test vectors of the cryptographic primitives.
52-
/documentation: Documentation of TinyCrypt.
54+
/doc: Documentation of TinyCrypt.
5355

5456
================================================================================
5557

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.5
1+
0.2.0

Makefile.conf renamed to config.mk

+5-8
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@
66
#
77
################################################################################
88

9-
CFLAGS = -Os -std=c99 -Wall -Wextra -I../lib -v -I../tests/include
9+
CC=gcc
10+
CFLAGS = -Os -std=c99 -Wall -Wextra -I../include -I../lib
11+
VPATH = ../include ../lib
1012

11-
ifdef ComSpec
12-
RM=del /F /Q
13-
else
14-
RM=rm -f
15-
endif
16-
17-
export RM
13+
export CC
1814
export CFLAGS
15+
export VPATH
1916

2017
################################################################################

0 commit comments

Comments
 (0)