plat_trng.h 337 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2021, ARM Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef PLAT_TRNG_H
  7. #define PLAT_TRNG_H
  8. #include <tools_share/uuid.h>
  9. /* TRNG platform functions */
  10. extern uuid_t plat_trng_uuid;
  11. void plat_entropy_setup(void);
  12. bool plat_get_entropy(uint64_t *out);
  13. #endif /* PLAT_TRNG_H */