summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2016-01-04 16:39:07 +0100
committerMichael Brown2016-01-04 16:39:07 +0100
commit29cb090f98132417eb7e1d0639823f7f32c63ffb (patch)
tree26371a4e6f0abb361d687604161ab1bc4929c967 /src/crypto
parent[smsc95xx] Fetch MAC from SMBIOS OEM string for Honeywell VM3 (diff)
downloadipxe-29cb090f98132417eb7e1d0639823f7f32c63ffb.tar.gz
ipxe-29cb090f98132417eb7e1d0639823f7f32c63ffb.tar.xz
ipxe-29cb090f98132417eb7e1d0639823f7f32c63ffb.zip
[crypto] Dual-license more 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>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/hmac.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crypto/hmac.c b/src/crypto/hmac.c
index 95a46195..f898619c 100644
--- a/src/crypto/hmac.c
+++ b/src/crypto/hmac.c
@@ -19,6 +19,18 @@
* You can also choose to distribute this program under the terms of
* the Unmodified Binary Distribution Licence (as given in the file
* COPYING.UBDL), provided that you have satisfied its requirements.
+ *
+ * Alternatively, you may distribute this code in source or binary
+ * form, with or without modification, provided that the following
+ * conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the above disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the above
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );