trng_ip_76.h 412 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2020, Marvell Technology Group Ltd. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef __TRNG_IP_76_H__
  7. #define __TRNG_IP_76_H__
  8. #include <stdbool.h>
  9. #include <stdint.h>
  10. int32_t eip76_rng_read_rand_buf(void *data, bool wait);
  11. int32_t eip76_rng_probe(uintptr_t base_addr);
  12. int32_t eip76_rng_get_random(uint8_t *data, uint32_t len);
  13. #endif /* __TRNG_IP_76_H__ */