aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/rand.h
diff options
context:
space:
mode:
authorJ08nY2020-02-28 17:25:51 +0100
committerJ08nY2020-02-28 17:35:08 +0100
commit0341d359dc67ced3f1e65d1d11af3590c1f0992f (patch)
tree660140e64e8abe7647554e1424b1678a3ab98631 /pyecsca/codegen/rand.h
parentb387d00511a03dc20e15ac55fcbf07f3dfa79ce0 (diff)
downloadpyecsca-codegen-0341d359dc67ced3f1e65d1d11af3590c1f0992f.tar.gz
pyecsca-codegen-0341d359dc67ced3f1e65d1d11af3590c1f0992f.tar.zst
pyecsca-codegen-0341d359dc67ced3f1e65d1d11af3590c1f0992f.zip
Add dynamic triggering.
Diffstat (limited to 'pyecsca/codegen/rand.h')
-rw-r--r--pyecsca/codegen/rand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pyecsca/codegen/rand.h b/pyecsca/codegen/rand.h
new file mode 100644
index 0000000..9305af8
--- /dev/null
+++ b/pyecsca/codegen/rand.h
@@ -0,0 +1,8 @@
+#ifndef RAND_H_
+#define RAND_H_
+
+#include "bn/bn.h"
+
+bn_err bn_rand_mod(bn_t *out, const bn_t *mod);
+
+#endif //RAND_H_ \ No newline at end of file