UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
test
test_random.c
Go to the documentation of this file.
1
/*
2
* FILE: test_random.c
3
* AUTHORS: Colin Perkins
4
*
5
* Test the random number generator
6
*
7
* Copyright (c) 2003-2004 University of Southern California
8
* All rights reserved.
9
*
10
* Redistribution and use in source and binary forms, with or without
11
* modification, is permitted provided that the following conditions
12
* are met:
13
* 1. Redistributions of source code must retain the above copyright
14
* notice, this list of conditions and the following disclaimer.
15
* 2. Redistributions in binary form must reproduce the above copyright
16
* notice, this list of conditions and the following disclaimer in the
17
* documentation and/or other materials provided with the distribution.
18
* 3. All advertising materials mentioning features or use of this software
19
* must display the following acknowledgement:
20
* This product includes software developed by the Computer Science
21
* Department at University College London
22
* 4. Neither the name of the University nor of the Department may be used
23
* to endorse or promote products derived from this software without
24
* specific prior written permission.
25
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
26
* ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
29
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35
* SUCH DAMAGE.
36
*/
37
38
#include "config.h"
39
#include "
config_unix.h
"
40
#include "
config_win32.h
"
41
#include "
debug.h
"
42
#include "memory.h"
43
#include "
crypto/random.h
"
44
#include "
test_random.h
"
45
46
int
test_random
(
void
)
47
{
48
printf
49
(
"Testing random number generator .......................................... --\n"
);
50
return
0;
51
}
config_unix.h
config_win32.h
random.h
debug.h
test_random
int test_random(void)
Definition
test_random.c:46
test_random.h
Generated on Wed Sep 25 2024 14:27:25 for UltraGrid by
1.12.0