blob: 88e0267e2fc3cad303d65cda2212cb6feb737833 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _PSP2_KERNEL_RNG_H_
#define _PSP2_KERNEL_RNG_H_
#ifdef __cplusplus
extern "C" {
#endif
/***
* Fills the output buffer with random data.
*
* @param[out] output - Output buffer
* @param[in] size - Size of the output buffer, 64 bytes maximum
*
* @return 0 on success, < 0 on error.
*/
int sceKernelGetRandomNumber(void *output, unsigned size);
#ifdef __cplusplus
}
#endif
#endif /* _PSP2_KERNEL_RNG_H_ */
|