ACPI: Add acpigen_write_PTC()
[coreboot.git] / src / include / random.h
blob5be918fa77544643dabc478f211c71811e89a9ab
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _RANDOM_H_
3 #define _RANDOM_H_
5 #include <types.h>
7 /*
8 * Generates a 32/64 bit random number respectively.
9 * return 0 on success and -1 on error.
11 enum cb_err get_random_number_32(uint32_t *rand);
12 enum cb_err get_random_number_64(uint64_t *rand);
14 #endif /* _RANDOM_H_ */