1*412f47f9SXin Li /* 2*412f47f9SXin Li * random.h - header for random.c 3*412f47f9SXin Li * 4*412f47f9SXin Li * Copyright (c) 2009-2019, Arm Limited. 5*412f47f9SXin Li * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 6*412f47f9SXin Li */ 7*412f47f9SXin Li 8*412f47f9SXin Li #include "types.h" 9*412f47f9SXin Li 10*412f47f9SXin Li uint32 random32(void); 11*412f47f9SXin Li uint32 random_upto(uint32 limit); 12*412f47f9SXin Li uint32 random_upto_biased(uint32 limit, int bias); 13