Deleted Added
full compact
random.h (13099) random.h (13765)
1/*
2 * random.h -- A strong random number generator
3 *
1/*
2 * random.h -- A strong random number generator
3 *
4 * $Id$
4 * $Id: random.h,v 1.3 1995/12/29 08:04:13 markm Exp $
5 *
6 * Version 0.95, last modified 18-Oct-95
7 *
8 * Copyright Theodore Ts'o, 1994, 1995. All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:

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

57#include <sys/ioctl.h>
58
59#define MEM_SETIRQ _IOW('r', 1, u_int16_t) /* set interrupt */
60#define MEM_CLEARIRQ _IOW('r', 2, u_int16_t) /* clear interrupt */
61#define MEM_RETURNIRQ _IOR('r', 3, u_int16_t) /* return interrupt */
62
63#if defined(KERNEL)
64
5 *
6 * Version 0.95, last modified 18-Oct-95
7 *
8 * Copyright Theodore Ts'o, 1994, 1995. All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:

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

57#include <sys/ioctl.h>
58
59#define MEM_SETIRQ _IOW('r', 1, u_int16_t) /* set interrupt */
60#define MEM_CLEARIRQ _IOW('r', 2, u_int16_t) /* clear interrupt */
61#define MEM_RETURNIRQ _IOR('r', 3, u_int16_t) /* return interrupt */
62
63#if defined(KERNEL)
64
65/* Interrupts to be used in the randomising process */
65/* Interrupts to be used in the randomizing process */
66
67extern inthand2_t *sec_intr_handler[ICU_LEN];
68extern int sec_intr_unit[ICU_LEN];
69
70/* Exported functions */
71
72void rand_initialize(void);
73void add_keyboard_randomness(u_char scancode);

--- 17 unchanged lines hidden ---
66
67extern inthand2_t *sec_intr_handler[ICU_LEN];
68extern int sec_intr_unit[ICU_LEN];
69
70/* Exported functions */
71
72void rand_initialize(void);
73void add_keyboard_randomness(u_char scancode);

--- 17 unchanged lines hidden ---