summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-05-17 14:51:04 -0400
committerRich Salz <rsalz@openssl.org>2016-05-17 14:51:04 -0400
commit4f22f40507fea3f272637eb8e00cadf1f34b10d9 (patch)
tree11d50666a6a1cac89afd9faad01c8aaa9efc29cb /crypto
parent6286757141a8c6e14d647ec733634ae0c83d9887 (diff)
Copyright consolidation 06/10
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/LPdir_nyi.c9
-rw-r--r--crypto/asn1/evp_asn1.c60
-rw-r--r--crypto/bn/asm/x86_64-gcc.c9
-rw-r--r--crypto/bn/bn_add.c60
-rw-r--r--crypto/bn/bn_asm.c60
-rw-r--r--crypto/bn/bn_blind.c113
-rw-r--r--crypto/bn/bn_const.c9
-rw-r--r--crypto/bn/bn_ctx.c58
-rw-r--r--crypto/bn/bn_depr.c57
-rw-r--r--crypto/bn/bn_dh.c59
-rw-r--r--crypto/bn/bn_div.c60
-rw-r--r--crypto/bn/bn_exp.c113
-rw-r--r--crypto/bn/bn_exp2.c113
-rw-r--r--crypto/bn/bn_gcd.c113
-rw-r--r--crypto/bn/bn_gf2m.c88
-rw-r--r--crypto/bn/bn_intern.c57
-rw-r--r--crypto/bn/bn_kron.c57
-rw-r--r--crypto/bn/bn_lcl.h113
-rw-r--r--crypto/bn/bn_lib.c60
-rw-r--r--crypto/bn/bn_mod.c115
-rw-r--r--crypto/bn/bn_mont.c113
-rw-r--r--crypto/bn/bn_mpi.c60
-rw-r--r--crypto/bn/bn_mul.c60
-rw-r--r--crypto/bn/bn_nist.c58
-rw-r--r--crypto/bn/bn_prime.c115
-rw-r--r--crypto/bn/bn_prime.h5
-rw-r--r--crypto/bn/bn_print.c60
-rw-r--r--crypto/bn/bn_rand.c113
-rw-r--r--crypto/bn/bn_recp.c60
-rw-r--r--crypto/bn/bn_shift.c60
-rw-r--r--crypto/bn/bn_sqr.c60
-rw-r--r--crypto/bn/bn_sqrt.c59
-rw-r--r--crypto/bn/bn_srp.c9
-rw-r--r--crypto/bn/bn_word.c60
-rw-r--r--crypto/bn/bn_x931p.c59
-rw-r--r--crypto/bn/rsaz_exp.c9
-rw-r--r--crypto/bn/rsaz_exp.h9
-rw-r--r--crypto/bn/vms-helper.c57
-rw-r--r--crypto/cmac/cm_ameth.c54
-rw-r--r--crypto/cmac/cm_pmeth.c54
-rw-r--r--crypto/cmac/cmac.c54
-rw-r--r--crypto/des/cbc_cksm.c60
-rw-r--r--crypto/des/des_locl.h60
-rw-r--r--crypto/des/fcrypt.c9
-rw-r--r--crypto/des/fcrypt_b.c60
-rw-r--r--crypto/des/ofb64ede.c60
-rw-r--r--crypto/des/pcbc_enc.c60
-rw-r--r--crypto/des/qud_cksm.c60
-rw-r--r--crypto/des/rpc_enc.c60
-rw-r--r--crypto/des/set_key.c60
-rw-r--r--crypto/des/spr.h60
-rw-r--r--crypto/ec/ec2_smpl.c62
-rw-r--r--crypto/ec/ec_25519.c54
-rw-r--r--crypto/ec/ec_check.c57
-rw-r--r--crypto/ec/ec_cvt.c59
-rw-r--r--crypto/ec/ec_kmeth.c54
-rw-r--r--crypto/ec/ec_mult.c59
-rw-r--r--crypto/ec/ec_oct.c59
-rw-r--r--crypto/ec/ec_print.c57
-rw-r--r--crypto/ec/ecdh_kdf.c53
-rw-r--r--crypto/ec/ecdh_ossl.c62
-rw-r--r--crypto/ec/ecp_mont.c59
-rw-r--r--crypto/ec/ecp_nist.c59
-rw-r--r--crypto/ec/ecp_nistp224.c8
-rw-r--r--crypto/ec/ecp_nistp256.c8
-rw-r--r--crypto/ec/ecp_nistputil.c8
-rw-r--r--crypto/ec/ecp_oct.c61
-rw-r--r--crypto/mem.c60
-rw-r--r--crypto/mem_clr.c59
-rw-r--r--crypto/mem_sec.c9
-rw-r--r--crypto/modes/cbc128.c53
-rw-r--r--crypto/modes/ccm128.c52
-rw-r--r--crypto/modes/cfb128.c53
-rw-r--r--crypto/modes/ctr128.c53
-rw-r--r--crypto/modes/cts128.c10
-rw-r--r--crypto/modes/gcm128.c52
-rw-r--r--crypto/modes/modes_lcl.h10
-rw-r--r--crypto/modes/ocb128.c52
-rw-r--r--crypto/modes/ofb128.c53
-rw-r--r--crypto/modes/wrap128.c55
-rw-r--r--crypto/modes/xts128.c52
-rw-r--r--crypto/stack/stack.c61
-rw-r--r--crypto/ts/ts_asn1.c58
-rw-r--r--crypto/ts/ts_conf.c59
-rw-r--r--crypto/ts/ts_lcl.h58
-rw-r--r--crypto/ts/ts_lib.c59
-rw-r--r--crypto/ts/ts_req_print.c59
-rw-r--r--crypto/ts/ts_req_utils.c59
-rw-r--r--crypto/ts/ts_rsp_print.c59
-rw-r--r--crypto/ts/ts_rsp_sign.c59
-rw-r--r--crypto/ts/ts_rsp_utils.c59
-rw-r--r--crypto/ts/ts_rsp_verify.c59
-rw-r--r--crypto/ts/ts_verify_ctx.c59
-rw-r--r--crypto/whrlpool/wp_block.c9
-rw-r--r--crypto/whrlpool/wp_dgst.c9
-rw-r--r--crypto/whrlpool/wp_locl.h9
96 files changed, 595 insertions, 4662 deletions
diff --git a/crypto/LPdir_nyi.c b/crypto/LPdir_nyi.c
index 283d5b0636..18566fd673 100644
--- a/crypto/LPdir_nyi.c
+++ b/crypto/LPdir_nyi.c
@@ -1,4 +1,13 @@
/*
+ * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+/*
* $LP: LPlib/source/LPdir_win.c,v 1.1 2004/06/14 10:07:56 _cvs_levitte Exp $
*/
/*
diff --git a/crypto/asn1/evp_asn1.c b/crypto/asn1/evp_asn1.c
index 79e7121998..f7416e5550 100644
--- a/crypto/asn1/evp_asn1.c
+++ b/crypto/asn1/evp_asn1.c
@@ -1,58 +1,10 @@
-/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
- * All rights reserved.
- *
- * This package is an SSL implementation written
- * by Eric Young (eay@cryptsoft.com).
- * The implementation was written so as to conform with Netscapes SSL.
- *
- * This library is free for commercial and non-commercial use as long as
- * the following conditions are aheared to. The following conditions
- * apply to all code found in this distribution, be it the RC4, RSA,
- * lhash, DES, etc., code; not just the SSL code. The SSL documentation
- * included with this distribution is covered by the same copyright terms
- * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- *
- * Copyright remains Eric Young's, and as such any Copyright notices in
- * the code are not to be removed.
- * If this package is used in a product, Eric Young should be given attribution
- * as the author of the parts of the library used.
- * This can be in the form of a textual message at program startup or
- * in documentation (online or textual) provided with the package.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * "This product includes cryptographic software written by
- * Eric Young (eay@cryptsoft.com)"
- * The word 'cryptographic' can be left out if the rouines from the library
- * being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from
- * the apps directory (application code) you must include an acknowledgement:
- * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- *
- * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+/*
+ * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
- * The licence and distribution terms for any publically available version or
- * derivative of this code cannot be changed. i.e. this code cannot simply be
- * copied and put under another distribution licence
- * [including the GNU Public Licence.]
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
*/
#include <stdio.h>
diff --git a/crypto/bn/asm/x86_64-gcc.c b/crypto/bn/asm/x86_64-gcc.c
index d77dc433d4..d46109a8c2 100644
--- a/crypto/bn/asm/x86_64-gcc.c
+++ b/crypto/bn/asm/x86_64-gcc.c
@@ -1,3 +1,12 @@
+/*
+ * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
#include "../bn_lcl.h"
#if !(defined(__GNUC__) && __GNUC__>=2)
# include "../bn_asm.c" /* kind of dirty hack for Sun Studio */
diff --git a/crypto/bn/bn_add.c b/crypto/bn/bn_add.c
index 3e7d86b2dd..d44e8f7d89 100644
--- a/crypto/bn/bn_add.c
+++ b/crypto/bn/bn_add.c
@@ -1,58 +1,10 @@
-/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
- * All rights reserved.
+/*
+ * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
- * This package is an SSL implementation written
- * by Eric Young (eay@cryptsoft.com).
- * The implementation was written so as to conform with Netscapes SSL.
- *
- * This library is free for commercial and non-commercial use as long as
- * the following conditions are aheared to. The following conditions
- * apply to all code found in this distribution, be it the RC4, RSA,
- * lhash, DES, etc., code; not just the SSL code. The SSL documentation
- * included with this distribution is covered by the same copyright terms
- * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- *
- * Copyright remains Eric Young's, and as such any Copyright notices in
- * the code are not to be removed.
- * If this package is used in a product, Eric Young should be given attribution
- * as the author of the parts of the library used.
- * This can be in the form of a textual message at program startup or
- * in documentation (online or textual) provided with the package.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * "This product includes cryptographic software written by
- * Eric Young (eay@cryptsoft.com)"
- * The word 'cryptographic' can be left out if the rouines from the library
- * being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from
- * the apps directory (application code) you must include an acknowledgement:
- * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- *
- * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * The licence and distribution terms for any publically available version or
- * derivative of this code cannot be changed. i.e. this code cannot simply be
- * copied and put under another distribution licence
- * [including the GNU Public Licence.]
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
*/
#include "internal/cryptlib.h"
diff --git a/crypto/bn/bn_asm.c b/crypto/bn/bn_asm.c
index 4c67d28092..39c6c2134b 100644
--- a/crypto/bn/bn_asm.c
+++ b/crypto/bn/bn_asm.c
@@ -1,58 +1,10 @@
-/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
- * All rights reserved.
- *
- * This package is an SSL implementation written
- * by Eric Young (eay@cryptsoft.com).
- * The implementation was written so as to conform with Netscapes SSL.
- *
- * This library is free for commercial and non-commercial use as long as
- * the following conditions are aheared to. The following conditions
- * apply to all code found in this distribution, be it the RC4, RSA,
- * lhash, DES, etc., code; not just the SSL code. The SSL documentation
- * included with this distribution is covered by the same copyright terms
- * except that the holder is Tim Hudson (tjh@cryptsoft.com).
- *
- * Copyright remains Eric Young's, and as such any Copyright notices in
- * the code are not to be removed.
- * If this package is used in a product, Eric Young should be given attribution
- * as the author of the parts of the library used.
- * This can be in the form of a textual message at program startup or
- * in documentation (online or textual) provided with the package.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * "This product includes cryptographic software written by
- * Eric Young (eay@cryptsoft.com)"
- * The word 'cryptographic' can be left out if the rouines from the library
- * being used are not cryptographic related :-).
- * 4. If you include any Windows specific code (or a derivative thereof) from
- * the apps directory (application code) you must include an acknowledgement:
- * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
- *
- * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINE