aboutsummaryrefslogtreecommitdiff
path: root/services/std_svc/trng/trng_entropy_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/std_svc/trng/trng_entropy_pool.h')
-rw-r--r--services/std_svc/trng/trng_entropy_pool.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/services/std_svc/trng/trng_entropy_pool.h b/services/std_svc/trng/trng_entropy_pool.h
new file mode 100644
index 0000000000..fab2367d20
--- /dev/null
+++ b/services/std_svc/trng/trng_entropy_pool.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef TRNG_ENTROPY_POOL_H
+#define TRNG_ENTROPY_POOL_H
+
+#include <stdbool.h>
+#include <stdint.h>
+
+bool trng_pack_entropy(uint32_t nbits, uint64_t *out);
+void trng_entropy_pool_setup(void);
+
+#endif /* TRNG_ENTROPY_POOL_H */