blob: 4cd149891c26fa106a621f00d05a4b417b2a8d48 [file] [log] [blame]
Simon Butcher4f58d692019-09-09 16:30:30 +01001
2================================================================================
3
4 TinyCrypt Cryptographic Library
5
6================================================================================
7
8 Copyright (c) 2017, Intel Corporation. All rights reserved.
9
10Redistribution and use in source and binary forms, with or without modification,
11are permitted provided that the following conditions are met:
12
13 - Redistributions of source code must retain the above copyright notice, this
14 list of conditions and the following disclaimer.
15
16 - Redistributions in binary form must reproduce the above copyright notice,
17 this list of conditions and the following disclaimer in the documentation
18 and/or other materials provided with the distribution.
19
20 - Neither the name of the Intel Corporation nor the names of its contributors
21 may be used to endorse or promote products derived from this software
22 without specific prior written permission.
23
24
25THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
26ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
29ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
30(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
32ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
36================================================================================
37
38Overview:
39
40The TinyCrypt Library provides an implementation for constrained devices of a
41minimal set of standard cryptography primitives.
42
43This is a modified form of the library based on version 0.2.8. included as part
44of Mbed TLS as a compilation option. It is not included in it's full form and
45those wishing to use TinyCrypt should use the original unmodified project.
46
47The original project, can be found here: https://github.com/intel/tinycrypt
48
49Contributions should be made upstream to that project, and full documentation
50can be found in the originating repository.
51
52================================================================================
53
54Organization:
55
56tinycrypt: C source code of the cryptographic primitives.
57include/tinycrypt: C header files of the cryptographic primitives.
58
59No documentation is provided, and instead is available with the original
60project.
61
62Tests are provided as part of Mbed TLS and the Mbed TLS test suites.
63
64================================================================================
65
66Building:
67
68To include TinyCrypt as part of Mbed TLS, enable the configuration option
69MBEDTLS_USE_TINYCRYPT in the configration file 'include/mbedtls/config.h', and
70build as Mbed TLS as normal.
71
72================================================================================
73