Deleted Added
full compact
randomdev.c (286839) randomdev.c (292782)
1/*-
2 * Copyright (c) 2000-2015 Mark R V Murray
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2000-2015 Mark R V Murray
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/dev/random/randomdev.c 286839 2015-08-17 07:36:12Z markm $");
29__FBSDID("$FreeBSD: head/sys/dev/random/randomdev.c 292782 2015-12-27 17:33:59Z allanjude $");
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/bus.h>
34#include <sys/conf.h>
35#include <sys/fcntl.h>
36#include <sys/filio.h>
37#include <sys/kernel.h>

--- 7 unchanged lines hidden (view full) ---

45#include <sys/sbuf.h>
46#include <sys/selinfo.h>
47#include <sys/sysctl.h>
48#include <sys/systm.h>
49#include <sys/uio.h>
50#include <sys/unistd.h>
51
52#include <crypto/rijndael/rijndael-api-fst.h>
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/bus.h>
34#include <sys/conf.h>
35#include <sys/fcntl.h>
36#include <sys/filio.h>
37#include <sys/kernel.h>

--- 7 unchanged lines hidden (view full) ---

45#include <sys/sbuf.h>
46#include <sys/selinfo.h>
47#include <sys/sysctl.h>
48#include <sys/systm.h>
49#include <sys/uio.h>
50#include <sys/unistd.h>
51
52#include <crypto/rijndael/rijndael-api-fst.h>
53#include
53#include <crypto/sha2/sha256.h>
54
55#include <dev/random/hash.h>
56#include <dev/random/randomdev.h>
57#include <dev/random/random_harvestq.h>
58
59#define RANDOM_UNIT 0
60
61#if defined(RANDOM_LOADABLE)

--- 341 unchanged lines hidden ---
54
55#include <dev/random/hash.h>
56#include <dev/random/randomdev.h>
57#include <dev/random/random_harvestq.h>
58
59#define RANDOM_UNIT 0
60
61#if defined(RANDOM_LOADABLE)

--- 341 unchanged lines hidden ---