Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
features/mbedtls/apache-2.0.txt@0:098463de4c5d, 2017-01-25 (annotated)
- Committer:
- group-onsemi
- Date:
- Wed Jan 25 20:34:15 2017 +0000
- Revision:
- 0:098463de4c5d
Initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| group-onsemi | 0:098463de4c5d | 1 | |
| group-onsemi | 0:098463de4c5d | 2 | Apache License | 
| group-onsemi | 0:098463de4c5d | 3 | Version 2.0, January 2004 | 
| group-onsemi | 0:098463de4c5d | 4 | http://www.apache.org/licenses/ | 
| group-onsemi | 0:098463de4c5d | 5 | |
| group-onsemi | 0:098463de4c5d | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | 
| group-onsemi | 0:098463de4c5d | 7 | |
| group-onsemi | 0:098463de4c5d | 8 | 1. Definitions. | 
| group-onsemi | 0:098463de4c5d | 9 | |
| group-onsemi | 0:098463de4c5d | 10 | "License" shall mean the terms and conditions for use, reproduction, | 
| group-onsemi | 0:098463de4c5d | 11 | and distribution as defined by Sections 1 through 9 of this document. | 
| group-onsemi | 0:098463de4c5d | 12 | |
| group-onsemi | 0:098463de4c5d | 13 | "Licensor" shall mean the copyright owner or entity authorized by | 
| group-onsemi | 0:098463de4c5d | 14 | the copyright owner that is granting the License. | 
| group-onsemi | 0:098463de4c5d | 15 | |
| group-onsemi | 0:098463de4c5d | 16 | "Legal Entity" shall mean the union of the acting entity and all | 
| group-onsemi | 0:098463de4c5d | 17 | other entities that control, are controlled by, or are under common | 
| group-onsemi | 0:098463de4c5d | 18 | control with that entity. For the purposes of this definition, | 
| group-onsemi | 0:098463de4c5d | 19 | "control" means (i) the power, direct or indirect, to cause the | 
| group-onsemi | 0:098463de4c5d | 20 | direction or management of such entity, whether by contract or | 
| group-onsemi | 0:098463de4c5d | 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the | 
| group-onsemi | 0:098463de4c5d | 22 | outstanding shares, or (iii) beneficial ownership of such entity. | 
| group-onsemi | 0:098463de4c5d | 23 | |
| group-onsemi | 0:098463de4c5d | 24 | "You" (or "Your") shall mean an individual or Legal Entity | 
| group-onsemi | 0:098463de4c5d | 25 | exercising permissions granted by this License. | 
| group-onsemi | 0:098463de4c5d | 26 | |
| group-onsemi | 0:098463de4c5d | 27 | "Source" form shall mean the preferred form for making modifications, | 
| group-onsemi | 0:098463de4c5d | 28 | including but not limited to software source code, documentation | 
| group-onsemi | 0:098463de4c5d | 29 | source, and configuration files. | 
| group-onsemi | 0:098463de4c5d | 30 | |
| group-onsemi | 0:098463de4c5d | 31 | "Object" form shall mean any form resulting from mechanical | 
| group-onsemi | 0:098463de4c5d | 32 | transformation or translation of a Source form, including but | 
| group-onsemi | 0:098463de4c5d | 33 | not limited to compiled object code, generated documentation, | 
| group-onsemi | 0:098463de4c5d | 34 | and conversions to other media types. | 
| group-onsemi | 0:098463de4c5d | 35 | |
| group-onsemi | 0:098463de4c5d | 36 | "Work" shall mean the work of authorship, whether in Source or | 
| group-onsemi | 0:098463de4c5d | 37 | Object form, made available under the License, as indicated by a | 
| group-onsemi | 0:098463de4c5d | 38 | copyright notice that is included in or attached to the work | 
| group-onsemi | 0:098463de4c5d | 39 | (an example is provided in the Appendix below). | 
| group-onsemi | 0:098463de4c5d | 40 | |
| group-onsemi | 0:098463de4c5d | 41 | "Derivative Works" shall mean any work, whether in Source or Object | 
| group-onsemi | 0:098463de4c5d | 42 | form, that is based on (or derived from) the Work and for which the | 
| group-onsemi | 0:098463de4c5d | 43 | editorial revisions, annotations, elaborations, or other modifications | 
| group-onsemi | 0:098463de4c5d | 44 | represent, as a whole, an original work of authorship. For the purposes | 
| group-onsemi | 0:098463de4c5d | 45 | of this License, Derivative Works shall not include works that remain | 
| group-onsemi | 0:098463de4c5d | 46 | separable from, or merely link (or bind by name) to the interfaces of, | 
| group-onsemi | 0:098463de4c5d | 47 | the Work and Derivative Works thereof. | 
| group-onsemi | 0:098463de4c5d | 48 | |
| group-onsemi | 0:098463de4c5d | 49 | "Contribution" shall mean any work of authorship, including | 
| group-onsemi | 0:098463de4c5d | 50 | the original version of the Work and any modifications or additions | 
| group-onsemi | 0:098463de4c5d | 51 | to that Work or Derivative Works thereof, that is intentionally | 
| group-onsemi | 0:098463de4c5d | 52 | submitted to Licensor for inclusion in the Work by the copyright owner | 
| group-onsemi | 0:098463de4c5d | 53 | or by an individual or Legal Entity authorized to submit on behalf of | 
| group-onsemi | 0:098463de4c5d | 54 | the copyright owner. For the purposes of this definition, "submitted" | 
| group-onsemi | 0:098463de4c5d | 55 | means any form of electronic, verbal, or written communication sent | 
| group-onsemi | 0:098463de4c5d | 56 | to the Licensor or its representatives, including but not limited to | 
| group-onsemi | 0:098463de4c5d | 57 | communication on electronic mailing lists, source code control systems, | 
| group-onsemi | 0:098463de4c5d | 58 | and issue tracking systems that are managed by, or on behalf of, the | 
| group-onsemi | 0:098463de4c5d | 59 | Licensor for the purpose of discussing and improving the Work, but | 
| group-onsemi | 0:098463de4c5d | 60 | excluding communication that is conspicuously marked or otherwise | 
| group-onsemi | 0:098463de4c5d | 61 | designated in writing by the copyright owner as "Not a Contribution." | 
| group-onsemi | 0:098463de4c5d | 62 | |
| group-onsemi | 0:098463de4c5d | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity | 
| group-onsemi | 0:098463de4c5d | 64 | on behalf of whom a Contribution has been received by Licensor and | 
| group-onsemi | 0:098463de4c5d | 65 | subsequently incorporated within the Work. | 
| group-onsemi | 0:098463de4c5d | 66 | |
| group-onsemi | 0:098463de4c5d | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of | 
| group-onsemi | 0:098463de4c5d | 68 | this License, each Contributor hereby grants to You a perpetual, | 
| group-onsemi | 0:098463de4c5d | 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | 
| group-onsemi | 0:098463de4c5d | 70 | copyright license to reproduce, prepare Derivative Works of, | 
| group-onsemi | 0:098463de4c5d | 71 | publicly display, publicly perform, sublicense, and distribute the | 
| group-onsemi | 0:098463de4c5d | 72 | Work and such Derivative Works in Source or Object form. | 
| group-onsemi | 0:098463de4c5d | 73 | |
| group-onsemi | 0:098463de4c5d | 74 | 3. Grant of Patent License. Subject to the terms and conditions of | 
| group-onsemi | 0:098463de4c5d | 75 | this License, each Contributor hereby grants to You a perpetual, | 
| group-onsemi | 0:098463de4c5d | 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | 
| group-onsemi | 0:098463de4c5d | 77 | (except as stated in this section) patent license to make, have made, | 
| group-onsemi | 0:098463de4c5d | 78 | use, offer to sell, sell, import, and otherwise transfer the Work, | 
| group-onsemi | 0:098463de4c5d | 79 | where such license applies only to those patent claims licensable | 
| group-onsemi | 0:098463de4c5d | 80 | by such Contributor that are necessarily infringed by their | 
| group-onsemi | 0:098463de4c5d | 81 | Contribution(s) alone or by combination of their Contribution(s) | 
| group-onsemi | 0:098463de4c5d | 82 | with the Work to which such Contribution(s) was submitted. If You | 
| group-onsemi | 0:098463de4c5d | 83 | institute patent litigation against any entity (including a | 
| group-onsemi | 0:098463de4c5d | 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work | 
| group-onsemi | 0:098463de4c5d | 85 | or a Contribution incorporated within the Work constitutes direct | 
| group-onsemi | 0:098463de4c5d | 86 | or contributory patent infringement, then any patent licenses | 
| group-onsemi | 0:098463de4c5d | 87 | granted to You under this License for that Work shall terminate | 
| group-onsemi | 0:098463de4c5d | 88 | as of the date such litigation is filed. | 
| group-onsemi | 0:098463de4c5d | 89 | |
| group-onsemi | 0:098463de4c5d | 90 | 4. Redistribution. You may reproduce and distribute copies of the | 
| group-onsemi | 0:098463de4c5d | 91 | Work or Derivative Works thereof in any medium, with or without | 
| group-onsemi | 0:098463de4c5d | 92 | modifications, and in Source or Object form, provided that You | 
| group-onsemi | 0:098463de4c5d | 93 | meet the following conditions: | 
| group-onsemi | 0:098463de4c5d | 94 | |
| group-onsemi | 0:098463de4c5d | 95 | (a) You must give any other recipients of the Work or | 
| group-onsemi | 0:098463de4c5d | 96 | Derivative Works a copy of this License; and | 
| group-onsemi | 0:098463de4c5d | 97 | |
| group-onsemi | 0:098463de4c5d | 98 | (b) You must cause any modified files to carry prominent notices | 
| group-onsemi | 0:098463de4c5d | 99 | stating that You changed the files; and | 
| group-onsemi | 0:098463de4c5d | 100 | |
| group-onsemi | 0:098463de4c5d | 101 | (c) You must retain, in the Source form of any Derivative Works | 
| group-onsemi | 0:098463de4c5d | 102 | that You distribute, all copyright, patent, trademark, and | 
| group-onsemi | 0:098463de4c5d | 103 | attribution notices from the Source form of the Work, | 
| group-onsemi | 0:098463de4c5d | 104 | excluding those notices that do not pertain to any part of | 
| group-onsemi | 0:098463de4c5d | 105 | the Derivative Works; and | 
| group-onsemi | 0:098463de4c5d | 106 | |
| group-onsemi | 0:098463de4c5d | 107 | (d) If the Work includes a "NOTICE" text file as part of its | 
| group-onsemi | 0:098463de4c5d | 108 | distribution, then any Derivative Works that You distribute must | 
| group-onsemi | 0:098463de4c5d | 109 | include a readable copy of the attribution notices contained | 
| group-onsemi | 0:098463de4c5d | 110 | within such NOTICE file, excluding those notices that do not | 
| group-onsemi | 0:098463de4c5d | 111 | pertain to any part of the Derivative Works, in at least one | 
| group-onsemi | 0:098463de4c5d | 112 | of the following places: within a NOTICE text file distributed | 
| group-onsemi | 0:098463de4c5d | 113 | as part of the Derivative Works; within the Source form or | 
| group-onsemi | 0:098463de4c5d | 114 | documentation, if provided along with the Derivative Works; or, | 
| group-onsemi | 0:098463de4c5d | 115 | within a display generated by the Derivative Works, if and | 
| group-onsemi | 0:098463de4c5d | 116 | wherever such third-party notices normally appear. The contents | 
| group-onsemi | 0:098463de4c5d | 117 | of the NOTICE file are for informational purposes only and | 
| group-onsemi | 0:098463de4c5d | 118 | do not modify the License. You may add Your own attribution | 
| group-onsemi | 0:098463de4c5d | 119 | notices within Derivative Works that You distribute, alongside | 
| group-onsemi | 0:098463de4c5d | 120 | or as an addendum to the NOTICE text from the Work, provided | 
| group-onsemi | 0:098463de4c5d | 121 | that such additional attribution notices cannot be construed | 
| group-onsemi | 0:098463de4c5d | 122 | as modifying the License. | 
| group-onsemi | 0:098463de4c5d | 123 | |
| group-onsemi | 0:098463de4c5d | 124 | You may add Your own copyright statement to Your modifications and | 
| group-onsemi | 0:098463de4c5d | 125 | may provide additional or different license terms and conditions | 
| group-onsemi | 0:098463de4c5d | 126 | for use, reproduction, or distribution of Your modifications, or | 
| group-onsemi | 0:098463de4c5d | 127 | for any such Derivative Works as a whole, provided Your use, | 
| group-onsemi | 0:098463de4c5d | 128 | reproduction, and distribution of the Work otherwise complies with | 
| group-onsemi | 0:098463de4c5d | 129 | the conditions stated in this License. | 
| group-onsemi | 0:098463de4c5d | 130 | |
| group-onsemi | 0:098463de4c5d | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, | 
| group-onsemi | 0:098463de4c5d | 132 | any Contribution intentionally submitted for inclusion in the Work | 
| group-onsemi | 0:098463de4c5d | 133 | by You to the Licensor shall be under the terms and conditions of | 
| group-onsemi | 0:098463de4c5d | 134 | this License, without any additional terms or conditions. | 
| group-onsemi | 0:098463de4c5d | 135 | Notwithstanding the above, nothing herein shall supersede or modify | 
| group-onsemi | 0:098463de4c5d | 136 | the terms of any separate license agreement you may have executed | 
| group-onsemi | 0:098463de4c5d | 137 | with Licensor regarding such Contributions. | 
| group-onsemi | 0:098463de4c5d | 138 | |
| group-onsemi | 0:098463de4c5d | 139 | 6. Trademarks. This License does not grant permission to use the trade | 
| group-onsemi | 0:098463de4c5d | 140 | names, trademarks, service marks, or product names of the Licensor, | 
| group-onsemi | 0:098463de4c5d | 141 | except as required for reasonable and customary use in describing the | 
| group-onsemi | 0:098463de4c5d | 142 | origin of the Work and reproducing the content of the NOTICE file. | 
| group-onsemi | 0:098463de4c5d | 143 | |
| group-onsemi | 0:098463de4c5d | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or | 
| group-onsemi | 0:098463de4c5d | 145 | agreed to in writing, Licensor provides the Work (and each | 
| group-onsemi | 0:098463de4c5d | 146 | Contributor provides its Contributions) on an "AS IS" BASIS, | 
| group-onsemi | 0:098463de4c5d | 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | 
| group-onsemi | 0:098463de4c5d | 148 | implied, including, without limitation, any warranties or conditions | 
| group-onsemi | 0:098463de4c5d | 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | 
| group-onsemi | 0:098463de4c5d | 150 | PARTICULAR PURPOSE. You are solely responsible for determining the | 
| group-onsemi | 0:098463de4c5d | 151 | appropriateness of using or redistributing the Work and assume any | 
| group-onsemi | 0:098463de4c5d | 152 | risks associated with Your exercise of permissions under this License. | 
| group-onsemi | 0:098463de4c5d | 153 | |
| group-onsemi | 0:098463de4c5d | 154 | 8. Limitation of Liability. In no event and under no legal theory, | 
| group-onsemi | 0:098463de4c5d | 155 | whether in tort (including negligence), contract, or otherwise, | 
| group-onsemi | 0:098463de4c5d | 156 | unless required by applicable law (such as deliberate and grossly | 
| group-onsemi | 0:098463de4c5d | 157 | negligent acts) or agreed to in writing, shall any Contributor be | 
| group-onsemi | 0:098463de4c5d | 158 | liable to You for damages, including any direct, indirect, special, | 
| group-onsemi | 0:098463de4c5d | 159 | incidental, or consequential damages of any character arising as a | 
| group-onsemi | 0:098463de4c5d | 160 | result of this License or out of the use or inability to use the | 
| group-onsemi | 0:098463de4c5d | 161 | Work (including but not limited to damages for loss of goodwill, | 
| group-onsemi | 0:098463de4c5d | 162 | work stoppage, computer failure or malfunction, or any and all | 
| group-onsemi | 0:098463de4c5d | 163 | other commercial damages or losses), even if such Contributor | 
| group-onsemi | 0:098463de4c5d | 164 | has been advised of the possibility of such damages. | 
| group-onsemi | 0:098463de4c5d | 165 | |
| group-onsemi | 0:098463de4c5d | 166 | 9. Accepting Warranty or Additional Liability. While redistributing | 
| group-onsemi | 0:098463de4c5d | 167 | the Work or Derivative Works thereof, You may choose to offer, | 
| group-onsemi | 0:098463de4c5d | 168 | and charge a fee for, acceptance of support, warranty, indemnity, | 
| group-onsemi | 0:098463de4c5d | 169 | or other liability obligations and/or rights consistent with this | 
| group-onsemi | 0:098463de4c5d | 170 | License. However, in accepting such obligations, You may act only | 
| group-onsemi | 0:098463de4c5d | 171 | on Your own behalf and on Your sole responsibility, not on behalf | 
| group-onsemi | 0:098463de4c5d | 172 | of any other Contributor, and only if You agree to indemnify, | 
| group-onsemi | 0:098463de4c5d | 173 | defend, and hold each Contributor harmless for any liability | 
| group-onsemi | 0:098463de4c5d | 174 | incurred by, or claims asserted against, such Contributor by reason | 
| group-onsemi | 0:098463de4c5d | 175 | of your accepting any such warranty or additional liability. | 
| group-onsemi | 0:098463de4c5d | 176 | |
| group-onsemi | 0:098463de4c5d | 177 | END OF TERMS AND CONDITIONS | 
| group-onsemi | 0:098463de4c5d | 178 | |
| group-onsemi | 0:098463de4c5d | 179 | APPENDIX: How to apply the Apache License to your work. | 
| group-onsemi | 0:098463de4c5d | 180 | |
| group-onsemi | 0:098463de4c5d | 181 | To apply the Apache License to your work, attach the following | 
| group-onsemi | 0:098463de4c5d | 182 | boilerplate notice, with the fields enclosed by brackets "[]" | 
| group-onsemi | 0:098463de4c5d | 183 | replaced with your own identifying information. (Don't include | 
| group-onsemi | 0:098463de4c5d | 184 | the brackets!) The text should be enclosed in the appropriate | 
| group-onsemi | 0:098463de4c5d | 185 | comment syntax for the file format. We also recommend that a | 
| group-onsemi | 0:098463de4c5d | 186 | file or class name and description of purpose be included on the | 
| group-onsemi | 0:098463de4c5d | 187 | same "printed page" as the copyright notice for easier | 
| group-onsemi | 0:098463de4c5d | 188 | identification within third-party archives. | 
| group-onsemi | 0:098463de4c5d | 189 | |
| group-onsemi | 0:098463de4c5d | 190 | Copyright [yyyy] [name of copyright owner] | 
| group-onsemi | 0:098463de4c5d | 191 | |
| group-onsemi | 0:098463de4c5d | 192 | Licensed under the Apache License, Version 2.0 (the "License"); | 
| group-onsemi | 0:098463de4c5d | 193 | you may not use this file except in compliance with the License. | 
| group-onsemi | 0:098463de4c5d | 194 | You may obtain a copy of the License at | 
| group-onsemi | 0:098463de4c5d | 195 | |
| group-onsemi | 0:098463de4c5d | 196 | http://www.apache.org/licenses/LICENSE-2.0 | 
| group-onsemi | 0:098463de4c5d | 197 | |
| group-onsemi | 0:098463de4c5d | 198 | Unless required by applicable law or agreed to in writing, software | 
| group-onsemi | 0:098463de4c5d | 199 | distributed under the License is distributed on an "AS IS" BASIS, | 
| group-onsemi | 0:098463de4c5d | 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
| group-onsemi | 0:098463de4c5d | 201 | See the License for the specific language governing permissions and | 
| group-onsemi | 0:098463de4c5d | 202 | limitations under the License. |