| 1 |
Copyright (c) 2012 - 2015, Nils Schneider <[email protected]> |
| 2 |
Copyright (c) 2015 - 2016, Matthias Schiffer <[email protected]> |
| 3 |
All rights reserved. |
| 4 |
|
| 5 |
Redistribution and use in source and binary forms, with or without |
| 6 |
modification, are permitted provided that the following conditions are met: |
| 7 |
|
| 8 |
1. Redistributions of source code must retain the above copyright notice, |
| 9 |
this list of conditions and the following disclaimer. |
| 10 |
|
| 11 |
2. Redistributions in binary form must reproduce the above copyright notice, |
| 12 |
this list of conditions and the following disclaimer in the documentation |
| 13 |
and/or other materials provided with the distribution. |
| 14 |
|
| 15 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 16 |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 17 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 18 |
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 19 |
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 20 |
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 21 |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 22 |
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 23 |
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 |
|
| 26 |
|
| 27 |
The code in <include/ecdsautil/sha256.h> and <src/lib/sha256.c> is subject to |
| 28 |
the following license: |
| 29 |
|
| 30 |
The MIT License |
| 31 |
|
| 32 |
Copyright (C) 2011 Zilong Tan ([email protected]) |
| 33 |
Copyright (C) 2016 Matthias Schiffer ([email protected]) |
| 34 |
|
| 35 |
Permission is hereby granted, free of charge, to any person obtaining |
| 36 |
a copy of this software and associated documentation files (the |
| 37 |
"Software"), to deal in the Software without restriction, including |
| 38 |
without limitation the rights to use, copy, modify, merge, publish, |
| 39 |
distribute, sublicense, and/or sell copies of the Software, and to |
| 40 |
permit persons to whom the Software is furnished to do so, subject to |
| 41 |
the following conditions: |
| 42 |
|
| 43 |
The above copyright notice and this permission notice shall be |
| 44 |
included in all copies or substantial portions of the Software. |
| 45 |
|
| 46 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 47 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 48 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 49 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
| 50 |
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 51 |
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 52 |
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 53 |
SOFTWARE. |