Browse Source

[crypto] Dual-license selected DRBG files

Allow the use of the iPXE DRBG implementation in BSD-licensed
projects.

Requested-by: Sean Davis <dive@hq.endersgame.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
0c396dd405
4 changed files with 48 additions and 0 deletions
  1. 12
    0
      src/crypto/drbg.c
  2. 12
    0
      src/crypto/hash_df.c
  3. 12
    0
      src/crypto/hmac_drbg.c
  4. 12
    0
      src/crypto/rbg.c

+ 12
- 0
src/crypto/drbg.c View File

@@ -19,6 +19,18 @@
19 19
  * You can also choose to distribute this program under the terms of
20 20
  * the Unmodified Binary Distribution Licence (as given in the file
21 21
  * COPYING.UBDL), provided that you have satisfied its requirements.
22
+ *
23
+ * Alternatively, you may distribute this code in source or binary
24
+ * form, with or without modification, provided that the following
25
+ * conditions are met:
26
+ *
27
+ *  1. Redistributions of source code must retain the above copyright
28
+ *     notice, this list of conditions and the above disclaimer.
29
+ *
30
+ *  2. Redistributions in binary form must reproduce the above
31
+ *     copyright notice, this list of conditions and the above
32
+ *     disclaimer in the documentation and/or other materials provided
33
+ *     with the distribution.
22 34
  */
23 35
 
24 36
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

+ 12
- 0
src/crypto/hash_df.c View File

@@ -19,6 +19,18 @@
19 19
  * You can also choose to distribute this program under the terms of
20 20
  * the Unmodified Binary Distribution Licence (as given in the file
21 21
  * COPYING.UBDL), provided that you have satisfied its requirements.
22
+ *
23
+ * Alternatively, you may distribute this code in source or binary
24
+ * form, with or without modification, provided that the following
25
+ * conditions are met:
26
+ *
27
+ *  1. Redistributions of source code must retain the above copyright
28
+ *     notice, this list of conditions and the above disclaimer.
29
+ *
30
+ *  2. Redistributions in binary form must reproduce the above
31
+ *     copyright notice, this list of conditions and the above
32
+ *     disclaimer in the documentation and/or other materials provided
33
+ *     with the distribution.
22 34
  */
23 35
 
24 36
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

+ 12
- 0
src/crypto/hmac_drbg.c View File

@@ -19,6 +19,18 @@
19 19
  * You can also choose to distribute this program under the terms of
20 20
  * the Unmodified Binary Distribution Licence (as given in the file
21 21
  * COPYING.UBDL), provided that you have satisfied its requirements.
22
+ *
23
+ * Alternatively, you may distribute this code in source or binary
24
+ * form, with or without modification, provided that the following
25
+ * conditions are met:
26
+ *
27
+ *  1. Redistributions of source code must retain the above copyright
28
+ *     notice, this list of conditions and the above disclaimer.
29
+ *
30
+ *  2. Redistributions in binary form must reproduce the above
31
+ *     copyright notice, this list of conditions and the above
32
+ *     disclaimer in the documentation and/or other materials provided
33
+ *     with the distribution.
22 34
  */
23 35
 
24 36
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

+ 12
- 0
src/crypto/rbg.c View File

@@ -19,6 +19,18 @@
19 19
  * You can also choose to distribute this program under the terms of
20 20
  * the Unmodified Binary Distribution Licence (as given in the file
21 21
  * COPYING.UBDL), provided that you have satisfied its requirements.
22
+ *
23
+ * Alternatively, you may distribute this code in source or binary
24
+ * form, with or without modification, provided that the following
25
+ * conditions are met:
26
+ *
27
+ *  1. Redistributions of source code must retain the above copyright
28
+ *     notice, this list of conditions and the above disclaimer.
29
+ *
30
+ *  2. Redistributions in binary form must reproduce the above
31
+ *     copyright notice, this list of conditions and the above
32
+ *     disclaimer in the documentation and/or other materials provided
33
+ *     with the distribution.
22 34
  */
23 35
 
24 36
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

Loading…
Cancel
Save