arc4random.c (276605) | arc4random.c (292206) |
---|---|
1/* $OpenBSD: arc4random.c,v 1.41 2014/07/12 13:24:54 deraadt Exp $ */ 2 3/* 4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 5 * Copyright (c) 2008, Damien Miller <djm@openbsd.org> 6 * Copyright (c) 2013, Markus Friedl <markus@openbsd.org> 7 * 8 * Permission to use, copy, modify, and distribute this software for any --- 12 unchanged lines hidden (view full) --- 21 22/* 23 * ChaCha based random number generator for OpenBSD. 24 */ 25 26#include <fcntl.h> 27#include <limits.h> 28#include <signal.h> | 1/* $OpenBSD: arc4random.c,v 1.41 2014/07/12 13:24:54 deraadt Exp $ */ 2 3/* 4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 5 * Copyright (c) 2008, Damien Miller <djm@openbsd.org> 6 * Copyright (c) 2013, Markus Friedl <markus@openbsd.org> 7 * 8 * Permission to use, copy, modify, and distribute this software for any --- 12 unchanged lines hidden (view full) --- 21 22/* 23 * ChaCha based random number generator for OpenBSD. 24 */ 25 26#include <fcntl.h> 27#include <limits.h> 28#include <signal.h> |
29#ifdef HAVE_STDINT_H |
|
29#include <stdint.h> | 30#include <stdint.h> |
31#endif |
|
30#include <stdlib.h> 31#include <string.h> 32#include <unistd.h> 33#include <sys/types.h> 34#include <sys/param.h> 35#include <sys/time.h> 36#ifndef UB_ON_WINDOWS 37#include <sys/mman.h> --- 194 unchanged lines hidden --- | 32#include <stdlib.h> 33#include <string.h> 34#include <unistd.h> 35#include <sys/types.h> 36#include <sys/param.h> 37#include <sys/time.h> 38#ifndef UB_ON_WINDOWS 39#include <sys/mman.h> --- 194 unchanged lines hidden --- |