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