Copyright (c) 1998-2018 The OpenSSL Project.  All rights reserved.
   16:  *
   17:  * Redistribution and use in source and binary forms, with or without
   18:  * modification, are permitted provided that the following conditions
   19:  * are met:
   20:  *
   21:  * 1. Redistributions of source code must retain the above copyright
   22:  *    notice, this list of conditions and the following disclaimer. 
   23:  *
   24:  * 2. Redistributions in binary form must reproduce the above copyright
   25:  *    notice, this list of conditions and the following disclaimer in
   26:  *    the documentation and/or other materials provided with the
   27:  *    distribution.
   28:  *
   29:  * 3. All advertising materials mentioning features or use of this
   30:  *    software must display the following acknowledgment:
   31:  *    "This product includes software developed by the OpenSSL Project
   32:  *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
   33:  *
   34:  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
   35:  *    endorse or promote products derived from this software without
   36:  *    prior written permission. For written permission, please contact
   37:  *    openssl-core@openssl.org.
   38:  *
   39:  * 5. Products derived from this software may not be called "OpenSSL"
   40:  *    nor may "OpenSSL" appear in their names without prior written
   41:  *    permission of the OpenSSL Project.
   42:  *
   43:  * 6. Redistributions of any form whatsoever must retain the following
   44:  *    acknowledgment:
   45:  *    "This product includes software developed by the OpenSSL Project
   46:  *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
   47:  *
   48:  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
   49:  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   50:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   51:  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
   52:  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   53:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   54:  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   55:  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   56:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   57:  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   58:  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   59:  * OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
   72:  * All rights reserved.
   73:  *
   74:  * This package is an SSL implementation written
   75:  * by Eric Young (eay@cryptsoft.com).
   76:  * The implementation was written so as to conform with Netscapes SSL.
   77:  * 
   78:  * This library is free for commercial and non-commercial use as long as
   79:  * the following conditions are aheared to.  The following conditions
   80:  * apply to all code found in this distribution, be it the RC4, RSA,
   81:  * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
   82:  * included with this distribution is covered by the same copyright terms
   83:  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
   84:  * 
   85:  * Copyright remains Eric Young's, and as such any Copyright notices in
   86:  * the code are not to be removed.
   87:  * If this package is used in a product, Eric Young should be given attribution
   88:  * as the author of the parts of the library used.
   89:  * This can be in the form of a textual message at program startup or
   90:  * in documentation (online or textual) provided with the package.
   91:  * 
   92:  * Redistribution and use in source and binary forms, with or without
   93:  * modification, are permitted provided that the following conditions
   94:  * are met:
   95:  * 1. Redistributions of source code must retain the copyright
   96:  *    notice, this list of conditions and the following disclaimer.
   97:  * 2. Redistributions in binary form must reproduce the above copyright
   98:  *    notice, this list of conditions and the following disclaimer in the
   99:  *    documentation and/or other materials provided with the distribution.
  100:  * 3. All advertising materials mentioning features or use of this software
  101:  *    must display the following acknowledgement:
  102:  *    "This product includes cryptographic software written by
  103:  *     Eric Young (eay@cryptsoft.com)"
  104:  *    The word 'cryptographic' can be left out if the rouines from the library
  105:  *    being used are not cryptographic related :-).
  106:  * 4. If you include any Windows specific code (or a derivative thereof) from 
  107:  *    the apps directory (application code) you must include an acknowledgement:
  108:  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
  109:  * 
  110:  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  111:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  112:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  113:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  114:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  115:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  116:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  117:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  118:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  119:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  120:  * SUCH DAMAGE.
Copyright (c) 2004, Richard Levitte <richard@levitte.org>
Copyright (c) 2002 Bob Beck <beck@openbsd.org>
    3:  * Copyright (c) 2002 Theo de Raadt
    4:  * Copyright (c) 2002 Markus Friedl
    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
    7:  * are met:
    8:  * 1. Redistributions of source code must retain the above copyright
    9:  *    notice, this list of conditions and the following disclaimer.
   10:  * 2. Redistributions in binary form must reproduce the above copyright
   11:  *    notice, this list of conditions and the following disclaimer in the
   12:  *    documentation and/or other materials provided with the distribution.
   13:  *
   14:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   15:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   16:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   17:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   18:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   19:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   20:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   21:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   22:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   23:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   24:  * SUCH DAMAGE.
Copyright (c) 2012, Intel Corporation                                     *
    4: *                                                                            *
    5: *  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: *                                                                            *
   14: *  *  Redistributions in binary form must reproduce the above copyright      *
   15: *     notice, this list of conditions and the following disclaimer in the    *
   16: *     documentation and/or other materials provided with the                 *
   17: *     distribution.                                                          *
   18: *                                                                            *
   19: *  *  Neither the name of the Intel Corporation nor the names of its         *
   20: *     contributors may be used to endorse or promote products derived from   *
   21: *     this software without specific prior written permission.               *
   22: *                                                                            *
   23: *                                                                            *
   24: *  THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION ""AS IS"" AND ANY          *
   25: *  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE         *
   26: *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR        *
   27: *  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR            *
   28: *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,     *
   29: *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,       *
   30: *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR        *
   31: *  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF    *
   32: *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING      *
   33: *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS        *
   34: *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
Copyright (c) 2007 KISA(Korea Information Security Agency). All rights reserved.
    3:  *
    4:  * Redistribution and use in source and binary forms, with or without
    5:  * modification, are permitted provided that the following conditions
    6:  * are met:
    7:  * 1. Redistributions of source code must retain the above copyright
    8:  *    notice, this list of conditions and the following disclaimer.
    9:  * 2. Neither the name of author nor the names of its contributors may
   10:  *    be used to endorse or promote products derived from this software
   11:  *    without specific prior written permission.
   12:  *
   13:  * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   14:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   15:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   16:  * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
   17:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   18:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   19:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   20:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   21:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   22:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   23:  * SUCH DAMAGE.
Copyright (c) 2004 Kungliga Tekniska Högskolan
    7:  * (Royal Institute of Technology, Stockholm, Sweden).
    8:  * All rights reserved.
    9:  *
   10:  * Redistribution and use in source and binary forms, with or without
   11:  * modification, are permitted provided that the following conditions
   12:  * are met:
   14:  * 1. Redistributions of source code must retain the above copyright
   15:  *    notice, this list of conditions and the following disclaimer.
   17:  * 2. Redistributions in binary form must reproduce the above copyright
   18:  *    notice, this list of conditions and the following disclaimer in the
   19:  *    documentation and/or other materials provided with the distribution.
   21:  * 3. Neither the name of the Institute 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:  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
   26:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   27:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   28:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
   29:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   30:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   31:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   32:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   33:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   34:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   35:  * SUCH DAMAGE.
Copyright 1999 Bodo Moeller.  All rights reserved.
    8: 
    9:  This is free software; you can redistributed and/or modify it
   10:  unter the terms of either
   11:    -  the GNU General Public License as published by the
   12:       Free Software Foundation, version 1, or (at your option)
   13:       any later version,
   14:  or
   15:    -  the following license:
   16: */
   17: /*-
   18:  * Redistribution and use in source and binary forms, with or without
   19:  * modification, are permitted provided that each of the following
   20:  * conditions is met:
   21:  *
   22:  * 1. Redistributions qualify as "freeware" or "Open Source Software" under
   23:  *    one of the following terms:
   25:  *    (a) Redistributions are made at no charge beyond the reasonable cost of
   26:  *        materials and delivery.
   27:  *
   28:  *    (b) Redistributions are accompanied by a copy of the Source Code
   29:  *        or by an irrevocable offer to provide a copy of the Source Code
   30:  *        for up to three years at the cost of materials and delivery.
   31:  *        Such redistributions must allow further use, modification, and
   32:  *        redistribution of the Source Code under substantially the same
   33:  *        terms as this license.
   34:  *
   35:  * 2. Redistributions of source code must retain the above copyright
   36:  *    notice, this list of conditions and the following disclaimer.
   37:  *
   38:  * 3. Redistributions in binary form must reproduce the above copyright
   39:  *    notice, this list of conditions and the following disclaimer in
   40:  *    the documentation and/or other materials provided with the
   41:  *    distribution.
   43:  * 4. All advertising materials mentioning features or use of this
   44:  *    software must display the following acknowledgment:
   45:  *    "This product includes software developed by Bodo Moeller."
   46:  *    (If available, substitute umlauted o for oe.)
   48:  * 5. Redistributions of any form whatsoever must retain the following
   49:  *    acknowledgment:
   50:  *    "This product includes software developed by Bodo Moeller."
   51:  *
   52:  * THIS SOFTWARE IS PROVIDED BY BODO MOELLER ``AS IS'' AND ANY
   53:  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   54:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   55:  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL BODO MOELLER OR
   56:  * HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   57:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   58:  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   59:  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   60:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   61:  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   62:  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   63:  * OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright 1998-2000 nCipher Corporation Limited.
   13:  * Redistribution and use in source and binary forms, with opr without
   14:  * modification, are permitted provided that the following conditions
   15:  * are met:
   17:  * 1. Redistributions of source code must retain the copyright notice,
   18:  *    this list of conditions, and the following disclaimer.
   19:  *
   20:  * 2. Redistributions in binary form must reproduce the above
   21:  *    copyright notice, this list of conditions, and the following
   22:  *    disclaimer, in the documentation and/or other materials provided
   23:  *    with the distribution
   25:  * IN NO EVENT SHALL NCIPHER CORPORATION LIMITED (`NCIPHER') AND/OR
   26:  * ANY OTHER AUTHORS OR DISTRIBUTORS OF THIS FILE BE LIABLE for any
   27:  * damages arising directly or indirectly from this file, its use or
   28:  * this licence.  Without prejudice to the generality of the
   29:  * foregoing: all liability shall be excluded for direct, indirect,
   30:  * special, incidental, consequential or other damages or any loss of
   31:  * profits, business, revenue goodwill or anticipated savings;
   32:  * liability shall be excluded even if nCipher or anyone else has been
   33:  * advised of the possibility of damage.  In any event, if the
   34:  * exclusion of liability is not effective, the liability of nCipher
   35:  * or any author or distributor shall be limited to the lesser of the
   36:  * price paid and 1,000 pounds sterling. This licence only fails to
   37:  * exclude or limit liability for death or personal injury arising out
   38:  * of negligence, and only to the extent that such an exclusion or
   39:  * limitation is not effective.
   40:  *
   41:  * NCIPHER AND THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ALL
   42:  * AND ANY WARRANTIES (WHETHER EXPRESS OR IMPLIED), including, but not
   43:  * limited to, any implied warranties of merchantability, fitness for
   44:  * a particular purpose, satisfactory quality, and/or non-infringement
   45:  * of any third party rights.
