Documentation/releases: Add 4.15 release notes template
[coreboot.git] / src / include / random.h
blob589254e89fb59f98d617cc0f74bde8c39ad7c8a0
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _RANDOM_H_
3 #define _RANDOM_H_
5 #include <stdint.h>
7 /*
8 * Generates a 32/64 bit random number respectively.
9 * return 0 on success and -1 on error.
11 int get_random_number_32(uint32_t *rand);
12 int get_random_number_64(uint64_t *rand);
14 #endif /* _RANDOM_H_ */