192f3ab15Sopenharmony_cirust-openssl contains code from OpenSSL, under the following license:
292f3ab15Sopenharmony_ci
392f3ab15Sopenharmony_ciOpenSSL License
492f3ab15Sopenharmony_ci  ---------------
592f3ab15Sopenharmony_ci
692f3ab15Sopenharmony_ci/* ====================================================================
792f3ab15Sopenharmony_ci * Copyright (c) 1998-2011 The OpenSSL Project.  All rights reserved.
892f3ab15Sopenharmony_ci *
992f3ab15Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
1092f3ab15Sopenharmony_ci * modification, are permitted provided that the following conditions
1192f3ab15Sopenharmony_ci * are met:
1292f3ab15Sopenharmony_ci *
1392f3ab15Sopenharmony_ci * 1. Redistributions of source code must retain the above copyright
1492f3ab15Sopenharmony_ci *    notice, this list of conditions and the following disclaimer.
1592f3ab15Sopenharmony_ci *
1692f3ab15Sopenharmony_ci * 2. Redistributions in binary form must reproduce the above copyright
1792f3ab15Sopenharmony_ci *    notice, this list of conditions and the following disclaimer in
1892f3ab15Sopenharmony_ci *    the documentation and/or other materials provided with the
1992f3ab15Sopenharmony_ci *    distribution.
2092f3ab15Sopenharmony_ci *
2192f3ab15Sopenharmony_ci * 3. All advertising materials mentioning features or use of this
2292f3ab15Sopenharmony_ci *    software must display the following acknowledgment:
2392f3ab15Sopenharmony_ci *    "This product includes software developed by the OpenSSL Project
2492f3ab15Sopenharmony_ci *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
2592f3ab15Sopenharmony_ci *
2692f3ab15Sopenharmony_ci * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
2792f3ab15Sopenharmony_ci *    endorse or promote products derived from this software without
2892f3ab15Sopenharmony_ci *    prior written permission. For written permission, please contact
2992f3ab15Sopenharmony_ci *    openssl-core@openssl.org.
3092f3ab15Sopenharmony_ci *
3192f3ab15Sopenharmony_ci * 5. Products derived from this software may not be called "OpenSSL"
3292f3ab15Sopenharmony_ci *    nor may "OpenSSL" appear in their names without prior written
3392f3ab15Sopenharmony_ci *    permission of the OpenSSL Project.
3492f3ab15Sopenharmony_ci *
3592f3ab15Sopenharmony_ci * 6. Redistributions of any form whatsoever must retain the following
3692f3ab15Sopenharmony_ci *    acknowledgment:
3792f3ab15Sopenharmony_ci *    "This product includes software developed by the OpenSSL Project
3892f3ab15Sopenharmony_ci *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
3992f3ab15Sopenharmony_ci *
4092f3ab15Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
4192f3ab15Sopenharmony_ci * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4292f3ab15Sopenharmony_ci * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4392f3ab15Sopenharmony_ci * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
4492f3ab15Sopenharmony_ci * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4592f3ab15Sopenharmony_ci * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4692f3ab15Sopenharmony_ci * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4792f3ab15Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4892f3ab15Sopenharmony_ci * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
4992f3ab15Sopenharmony_ci * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
5092f3ab15Sopenharmony_ci * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
5192f3ab15Sopenharmony_ci * OF THE POSSIBILITY OF SUCH DAMAGE.
5292f3ab15Sopenharmony_ci * ====================================================================
5392f3ab15Sopenharmony_ci *
5492f3ab15Sopenharmony_ci * This product includes cryptographic software written by Eric Young
5592f3ab15Sopenharmony_ci * (eay@cryptsoft.com).  This product includes software written by Tim
5692f3ab15Sopenharmony_ci * Hudson (tjh@cryptsoft.com).
5792f3ab15Sopenharmony_ci *
5892f3ab15Sopenharmony_ci */
5992f3ab15Sopenharmony_ci
6092f3ab15Sopenharmony_ci Original SSLeay License
6192f3ab15Sopenharmony_ci -----------------------
6292f3ab15Sopenharmony_ci
6392f3ab15Sopenharmony_ci/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
6492f3ab15Sopenharmony_ci * All rights reserved.
6592f3ab15Sopenharmony_ci *
6692f3ab15Sopenharmony_ci * This package is an SSL implementation written
6792f3ab15Sopenharmony_ci * by Eric Young (eay@cryptsoft.com).
6892f3ab15Sopenharmony_ci * The implementation was written so as to conform with Netscapes SSL.
6992f3ab15Sopenharmony_ci *
7092f3ab15Sopenharmony_ci * This library is free for commercial and non-commercial use as long as
7192f3ab15Sopenharmony_ci * the following conditions are aheared to.  The following conditions
7292f3ab15Sopenharmony_ci * apply to all code found in this distribution, be it the RC4, RSA,
7392f3ab15Sopenharmony_ci * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
7492f3ab15Sopenharmony_ci * included with this distribution is covered by the same copyright terms
7592f3ab15Sopenharmony_ci * except that the holder is Tim Hudson (tjh@cryptsoft.com).
7692f3ab15Sopenharmony_ci *
7792f3ab15Sopenharmony_ci * Copyright remains Eric Young's, and as such any Copyright notices in
7892f3ab15Sopenharmony_ci * the code are not to be removed.
7992f3ab15Sopenharmony_ci * If this package is used in a product, Eric Young should be given attribution
8092f3ab15Sopenharmony_ci * as the author of the parts of the library used.
8192f3ab15Sopenharmony_ci * This can be in the form of a textual message at program startup or
8292f3ab15Sopenharmony_ci * in documentation (online or textual) provided with the package.
8392f3ab15Sopenharmony_ci *
8492f3ab15Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
8592f3ab15Sopenharmony_ci * modification, are permitted provided that the following conditions
8692f3ab15Sopenharmony_ci * are met:
8792f3ab15Sopenharmony_ci * 1. Redistributions of source code must retain the copyright
8892f3ab15Sopenharmony_ci *    notice, this list of conditions and the following disclaimer.
8992f3ab15Sopenharmony_ci * 2. Redistributions in binary form must reproduce the above copyright
9092f3ab15Sopenharmony_ci *    notice, this list of conditions and the following disclaimer in the
9192f3ab15Sopenharmony_ci *    documentation and/or other materials provided with the distribution.
9292f3ab15Sopenharmony_ci * 3. All advertising materials mentioning features or use of this software
9392f3ab15Sopenharmony_ci *    must display the following acknowledgement:
9492f3ab15Sopenharmony_ci *    "This product includes cryptographic software written by
9592f3ab15Sopenharmony_ci *     Eric Young (eay@cryptsoft.com)"
9692f3ab15Sopenharmony_ci *    The word 'cryptographic' can be left out if the rouines from the library
9792f3ab15Sopenharmony_ci *    being used are not cryptographic related :-).
9892f3ab15Sopenharmony_ci * 4. If you include any Windows specific code (or a derivative thereof) from
9992f3ab15Sopenharmony_ci *    the apps directory (application code) you must include an acknowledgement:
10092f3ab15Sopenharmony_ci *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
10192f3ab15Sopenharmony_ci *
10292f3ab15Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
10392f3ab15Sopenharmony_ci * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
10492f3ab15Sopenharmony_ci * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
10592f3ab15Sopenharmony_ci * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
10692f3ab15Sopenharmony_ci * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
10792f3ab15Sopenharmony_ci * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
10892f3ab15Sopenharmony_ci * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
10992f3ab15Sopenharmony_ci * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
11092f3ab15Sopenharmony_ci * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
11192f3ab15Sopenharmony_ci * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
11292f3ab15Sopenharmony_ci * SUCH DAMAGE.
11392f3ab15Sopenharmony_ci *
11492f3ab15Sopenharmony_ci * The licence and distribution terms for any publically available version or
11592f3ab15Sopenharmony_ci * derivative of this code cannot be changed.  i.e. this code cannot simply be
11692f3ab15Sopenharmony_ci * copied and put under another distribution licence
11792f3ab15Sopenharmony_ci * [including the GNU Public Licence.]
11892f3ab15Sopenharmony_ci */
11992f3ab15Sopenharmony_ci
12092f3ab15Sopenharmony_ci===============================================================================
12192f3ab15Sopenharmony_ci
12292f3ab15Sopenharmony_ciopenssl-sys
12392f3ab15Sopenharmony_ci
12492f3ab15Sopenharmony_ciCopyright (c) 2014 Alex Crichton
12592f3ab15Sopenharmony_ci
12692f3ab15Sopenharmony_ciPermission is hereby granted, free of charge, to any
12792f3ab15Sopenharmony_ciperson obtaining a copy of this software and associated
12892f3ab15Sopenharmony_cidocumentation files (the "Software"), to deal in the
12992f3ab15Sopenharmony_ciSoftware without restriction, including without
13092f3ab15Sopenharmony_cilimitation the rights to use, copy, modify, merge,
13192f3ab15Sopenharmony_cipublish, distribute, sublicense, and/or sell copies of
13292f3ab15Sopenharmony_cithe Software, and to permit persons to whom the Software
13392f3ab15Sopenharmony_ciis furnished to do so, subject to the following
13492f3ab15Sopenharmony_ciconditions:
13592f3ab15Sopenharmony_ci
13692f3ab15Sopenharmony_ciThe above copyright notice and this permission notice
13792f3ab15Sopenharmony_cishall be included in all copies or substantial portions
13892f3ab15Sopenharmony_ciof the Software.
13992f3ab15Sopenharmony_ci
14092f3ab15Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
14192f3ab15Sopenharmony_ciANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
14292f3ab15Sopenharmony_ciTO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
14392f3ab15Sopenharmony_ciPARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
14492f3ab15Sopenharmony_ciSHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
14592f3ab15Sopenharmony_ciCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
14692f3ab15Sopenharmony_ciOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
14792f3ab15Sopenharmony_ciIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
14892f3ab15Sopenharmony_ciDEALINGS IN THE SOFTWARE.
149