github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/crypto/fastsha256/LICENSE.md (about)

     1  The original code for the fastsha256 project
     2  came from the Go crypto/sha256 package,
     3  which is released under the BSD-3-Clause license:
     4  
     5      Copyright (c) 2009 The Go Authors. All rights reserved.
     6  
     7      Redistribution and use in source and binary forms, with or without
     8      modification, are permitted provided that the following conditions are
     9      met:
    10  
    11         * Redistributions of source code must retain the above copyright
    12      notice, this list of conditions and the following disclaimer.
    13         * Redistributions in binary form must reproduce the above
    14      copyright notice, this list of conditions and the following disclaimer
    15      in the documentation and/or other materials provided with the
    16      distribution.
    17         * Neither the name of Google Inc. nor the names of its
    18      contributors may be used to endorse or promote products derived from
    19      this software without specific prior written permission.
    20  
    21      THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    22      "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    23      LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    24      A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    25      OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    26      SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    27      LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    28      DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    29      THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    30      (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    31      OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    32  
    33  -----------------------------------------------------------------------------
    34  
    35  The code that was added in the fastsha256 project for midstate calculations
    36  is released under the ISC license:
    37  
    38      ISC License
    39     
    40      Copyright (c) 2013 Conformal Systems LLC.
    41     
    42      Permission to use, copy, modify, and distribute this software for any
    43      purpose with or without fee is hereby granted, provided that the above
    44      copyright notice and this permission notice appear in all copies.
    45     
    46      THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    47      WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    48      MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    49      ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
    50      WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
    51      ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    52      OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.