summaryrefslogtreecommitdiff
path: root/src/drivers/ao_trng.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-02-28 16:06:23 -0800
committerKeith Packard <keithp@keithp.com>2015-02-28 16:10:10 -0800
commit0724cc334a3bd8d81bbd4641d90a7e4040330efe (patch)
treee7f83435f666c7eacc0035f4b7347ac8ef951a82 /src/drivers/ao_trng.h
parentbd18bc5a42fcecfb710477371b9f62610a1ea640 (diff)
altos/usbtrng: Split out random number generating code to separate driver
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_trng.h')
-rw-r--r--src/drivers/ao_trng.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/drivers/ao_trng.h b/src/drivers/ao_trng.h
new file mode 100644
index 00000000..78577428
--- /dev/null
+++ b/src/drivers/ao_trng.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright © 2015 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+#ifndef _AO_TRNG_H_
+#define _AO_TRNG_H_
+
+void
+ao_trng_init(void);
+
+#endif /* _AO_TRNG_H_ */