Simon Butcher | 4f58d69 | 2019-09-09 16:30:30 +0100 | [diff] [blame] | 1 | |
| 2 | ================================================================================ |
| 3 | |
| 4 | TinyCrypt Cryptographic Library |
| 5 | |
| 6 | ================================================================================ |
| 7 | |
| 8 | Copyright (c) 2017, Intel Corporation. All rights reserved. |
| 9 | |
| 10 | Redistribution and use in source and binary forms, with or without modification, |
| 11 | are 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 | |
| 25 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 26 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 27 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 28 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
| 29 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 30 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 31 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 32 | ANY 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 |
| 34 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 35 | |
| 36 | ================================================================================ |
| 37 | |
| 38 | Overview: |
| 39 | |
| 40 | The TinyCrypt Library provides an implementation for constrained devices of a |
| 41 | minimal set of standard cryptography primitives. |
| 42 | |
Simon Butcher | 05ab732 | 2019-09-09 17:40:20 +0100 | [diff] [blame^] | 43 | This is a modified form of the library based on version 0.2.8 included as part |
| 44 | of Mbed TLS as a compilation option. It is not included in its full form and |
Simon Butcher | 4f58d69 | 2019-09-09 16:30:30 +0100 | [diff] [blame] | 45 | those wishing to use TinyCrypt should use the original unmodified project. |
| 46 | |
Simon Butcher | 05ab732 | 2019-09-09 17:40:20 +0100 | [diff] [blame^] | 47 | The original project can be found here: https://github.com/intel/tinycrypt |
Simon Butcher | 4f58d69 | 2019-09-09 16:30:30 +0100 | [diff] [blame] | 48 | |
| 49 | Contributions should be made upstream to that project, and full documentation |
| 50 | can be found in the originating repository. |
| 51 | |
| 52 | ================================================================================ |
| 53 | |
| 54 | Organization: |
| 55 | |
| 56 | tinycrypt: C source code of the cryptographic primitives. |
| 57 | include/tinycrypt: C header files of the cryptographic primitives. |
| 58 | |
| 59 | No documentation is provided, and instead is available with the original |
| 60 | project. |
| 61 | |
| 62 | Tests are provided as part of Mbed TLS and the Mbed TLS test suites. |
| 63 | |
| 64 | ================================================================================ |
| 65 | |
| 66 | Building: |
| 67 | |
| 68 | To include TinyCrypt as part of Mbed TLS, enable the configuration option |
| 69 | MBEDTLS_USE_TINYCRYPT in the configration file 'include/mbedtls/config.h', and |
| 70 | build as Mbed TLS as normal. |
| 71 | |
| 72 | ================================================================================ |
| 73 | |