Debian Codegraph @

COPYRIGHTS

raw
1 Base openCryptoki Code and IBM submissions
2
3 (C) COPYRIGHT International Business Machines Corp. 2001, 2023
4
5
6
7 For code originating from OpenSSL:
8
9 * - usr/lib/ica_s390_stdll/rsa_sup_mul.c: Copied from OpenSSL from
10 * crypto/bn/rsa_sup_mul.c and modified to fit to the OpenCrptoki environment.
11 * See comment in usr/lib/ica_s390_stdll/rsa_sup_mul.c for a list of changes.
12 * Note that in OpenSSL the file crypto/bn/rsa_sup_mul.c does no longer
13 * exist, it was removed with commit https://github.com/openssl/openssl/commit/4209ce68d8fe8b1506494efa03d378d05baf9ff8
14 * - usr/lib/common/constant_time.h: Copied unchanged from OpenSSL from
15 * include/internal/constant_time.h
16 * - The implementation of function rsa_parse_block_type_2() in
17 * usr/lib/common/mech_rsa.c is copied from OpenSSL's function
18 * ossl_rsa_padding_check_PKCS1_type_2() in crypto/rsa/rsa_pk1.c
19 * and is slightly modified to fit to the OpenCryptoki environment.
20 * See comment in function rsa_parse_block_type_2() for a list of changes.
21 * - The implementation of function openssl_specific_rsa_derive_kdk() in
22 * usr/lib/common/mech_openssl.c is copied from OpenSSL's function
23 * derive_kdk() in crypto/rsa/rsa_ossl.c and is slightly modified to fit to
24 * the OpenCryptoki environment. See comment in function
25 * openssl_specific_rsa_derive_kdk() for a list of changes.
26 * - The implementation of function openssl_specific_rsa_prf() in
27 * usr/lib/common/mech_openssl.c is copied from OpenSSL's function
28 * ossl_rsa_prf() in crypto/rsa/rsapk1.c and is slightly modified to fit to
29 * the OpenCryptoki environment. See comment in function
30 * openssl_specific_rsa_prf() for a list of changes.
31 * - The implementation of function decode_eme_oaep() in
32 * usr/lib/common/mech_rsa.c is copied from OpenSSL's function
33 * RSA_padding_check_PKCS1_OAEP_mgf1() in crypto/rsa/rsa_oaep.c and is
34 * slightly modified to fit to the OpenCryptoki environment. See comment in
35 * function decode_eme_oaep() for a list of changes.
36 * - The implementation of the AESKW functions in usr/lib/common/mech_aes.c is
37 * copied from OpenSSL's source file crypto/modes/wrap128.c and is slightly
38 * modified to fit to the OpenCryptoki environment. See comment in
39 * file usr/lib/common/mech_aes.c for a list of changes.
40 *
41 * Copyright 1999-2024 The OpenSSL Project Authors. All Rights Reserved.
42 *
43 * The OpenSSL code is licensed under the Apache License 2.0 (the "License").
44 * You can obtain a copy in the file LICENSE in the OpenSSL source distribution
45 * or at https://www.openssl.org/source/license.html
46
47
48
49 For Code originating from AEP Systems Ltd.
50
51 * Copyright (c) 1999-2002 AEP Systems Ltd.
52 * Bray Business Park, Southern Cross Route, Bray, Co. Wicklow, Ireland.
53 * All Rights Reserved.
54 *
55 * Redistribution and use in source and binary forms, with or without
56 * modification, are permitted provided that the following conditions are met:
57 *
58 * 1. Redistributions of source code must retain the above copyright notice,
59 * this list of conditions and the following disclaimer.
60 *
61 * 2. Redistributions in binary form must reproduce the above copyright notice,
62 * this list of conditions and the following disclaimer in the documentation
63 * and/or other materials provided with the distribution.
64 *
65 * 3. Neither the name of AEP Systems Ltd. nor the names of its contributors
66 * may be used to endorse or promote products derived from this software
67 * without specific prior written permission.
68 *
69 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
70 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
71 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
72 * ARE DISCLAIMED. IN NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
73 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
74 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
75 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
76 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
77 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
78 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
79
80 For code that is used only on AIX, importing Linux-specific popular behaviour.
81 1. err.c:
82 * Implementation of the err/errx/verr/verrx/warn/warnx/vwarn/vwarnx
83 * functions from BSD.
84 *
85 * This file is public-domain; anyone may deal in it without restriction.
86 *
87 * Written by Graue <[email protected]> on January 16, 2006.
88
89 2. getopt_long.c:
90 * getopt_long() -- long options parser
91 *
92 * Portions Copyright (c) 1987, 1993, 1994
93 * The Regents of the University of California. All rights reserved.
94 *
95 * Portions Copyright (c) 2003
96 * PostgreSQL Global Development Group
97 *
98 * Redistribution and use in source and binary forms, with or without
99 * modification, are permitted provided that the following conditions
100 * are met:
101 * 1. Redistributions of source code must retain the above copyright
102 * notice, this list of conditions and the following disclaimer.
103 * 2. Redistributions in binary form must reproduce the above copyright
104 * notice, this list of conditions and the following disclaimer in the
105 * documentation and/or other materials provided with the distribution.
106 * 3. Neither the name of the University nor the names of its contributors
107 * may be used to endorse or promote products derived from this software
108 * without specific prior written permission.
109 *
110 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS 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.