summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/crypto/krb/prng/fortuna/entropy.c28
-rw-r--r--src/lib/crypto/krb/prng/fortuna/fortuna.h2
-rw-r--r--src/lib/crypto/krb/prng/fortuna/prng_fortuna.c3
-rw-r--r--src/lib/crypto/krb/prng/nss/prng_nss.c2
-rw-r--r--src/lib/crypto/krb/prng/nss/prng_nss.h6
5 files changed, 35 insertions, 6 deletions
diff --git a/src/lib/crypto/krb/prng/fortuna/entropy.c b/src/lib/crypto/krb/prng/fortuna/entropy.c
index 0f9344e5b6..b4dabdc3a6 100644
--- a/src/lib/crypto/krb/prng/fortuna/entropy.c
+++ b/src/lib/crypto/krb/prng/fortuna/entropy.c
@@ -1,4 +1,32 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/*
+ * lib/crypto/krb/prng/fortuna/entropy.c
+ *
+ * Copyright 2010 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
/* various methods to collect entropy */
+
#include "prng.h"
#include "fortuna.h"
diff --git a/src/lib/crypto/krb/prng/fortuna/fortuna.h b/src/lib/crypto/krb/prng/fortuna/fortuna.h
index 34fde09e1e..c98b858205 100644
--- a/src/lib/crypto/krb/prng/fortuna/fortuna.h
+++ b/src/lib/crypto/krb/prng/fortuna/fortuna.h
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * lib/crypto/krb/prng/fortuna.h
+ * lib/crypto/krb/prng/fortuna/fortuna.h
*
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
diff --git a/src/lib/crypto/krb/prng/fortuna/prng_fortuna.c b/src/lib/crypto/krb/prng/fortuna/prng_fortuna.c
index 07a52a928c..4bca844899 100644
--- a/src/lib/crypto/krb/prng/fortuna/prng_fortuna.c
+++ b/src/lib/crypto/krb/prng/fortuna/prng_fortuna.c
@@ -1,7 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* prng_fortuna.c */
/*
- * fortuna.c
+ * prng_fortuna.c
+ *
* Fortuna-like PRNG.
*
* Copyright (c) 2005 Marko Kreen
diff --git a/src/lib/crypto/krb/prng/nss/prng_nss.c b/src/lib/crypto/krb/prng/nss/prng_nss.c
index c42e63ac35..7d30885918 100644
--- a/src/lib/crypto/krb/prng/nss/prng_nss.c
+++ b/src/lib/crypto/krb/prng/nss/prng_nss.c
@@ -2,7 +2,7 @@
/*
* prng_nss.c
*
- * Copyright (C) 2008, 2010 by the Massachusetts Institute of Technology.
+ * Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
*
diff --git a/src/lib/crypto/krb/prng/nss/prng_nss.h b/src/lib/crypto/krb/prng/nss/prng_nss.h
index 5bfed3ef25..3a23be5a12 100644
--- a/src/lib/crypto/krb/prng/nss/prng_nss.h
+++ b/src/lib/crypto/krb/prng/nss/prng_nss.h
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * lib/crypto/krb/prng/fortuna.h
+ * lib/crypto/krb/prng/nss/prng_nss.h
*
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
@@ -25,8 +25,8 @@
* or implied warranty.
*/
-#ifndef FORTUNA_H
-#define FORTUNA_H
+#ifndef PRNG_NSS_H
+#define PRNG_NSS_H
#include "k5-int.h"
#include "prng.h"