1 /* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * SPDX-FileCopyrightText: Copyright TF-RMM Contributors. 4 */ 5 6 #ifndef ENTROPY_H 7 #define ENTROPY_H 8 9 #include <stdbool.h> 10 #include <stdint.h> 11 arch_collect_entropy(uint64_t * random)12static inline bool arch_collect_entropy(uint64_t *random) 13 { 14 static uint64_t val; 15 16 *random = val++; 17 return true; 18 } 19 20 #endif /* ENTROPY_H */ 21