psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
system.h
Go to the documentation of this file.
1#ifndef __LV2_RANDOM_H__
2#define __LV2_RANDOM_H__
3
4#include <ppu-types.h>
5
6
7#define RANDOM_NUMBER_MAX_SIZE (4096)
8
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14
15/*
16 * FIPS186-2 DSS
17 *
18 * addr, pointer to random number storage
19 * size, size in bytes of random
20*/
21u32 sysGetRandomNumber(void *addr, u64 size);
22
23
24#ifdef __cplusplus
25 }
26#endif
27
28#endif
uintptr_t size
Definition heap.h:1
u32 sysGetRandomNumber(void *addr, u64 size)