diff options
| author | J08nY | 2019-11-25 17:45:35 +0100 |
|---|---|---|
| committer | J08nY | 2019-11-25 17:45:35 +0100 |
| commit | 8a56c7a95e662862cfe78b834ccb091e95d5372f (patch) | |
| tree | 1fd57480b7fc681f00c0bfb6c0e5cfea86762f87 /pyecsca/codegen/bn.c | |
| parent | c8d0bff46001bd5636825c5b0bb4c896cb34a4e6 (diff) | |
| download | pyecsca-codegen-8a56c7a95e662862cfe78b834ccb091e95d5372f.tar.gz pyecsca-codegen-8a56c7a95e662862cfe78b834ccb091e95d5372f.tar.zst pyecsca-codegen-8a56c7a95e662862cfe78b834ccb091e95d5372f.zip | |
Add libtommath, HOST build, and a simple PRNG.
Diffstat (limited to 'pyecsca/codegen/bn.c')
| -rw-r--r-- | pyecsca/codegen/bn.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pyecsca/codegen/bn.c b/pyecsca/codegen/bn.c new file mode 100644 index 0000000..dfd433a --- /dev/null +++ b/pyecsca/codegen/bn.c @@ -0,0 +1,9 @@ +#include "bn.h" + +bn_err bn_init(bn_t *bn) { + return mp_init(bn); +} + +void bn_clear(bn_t *bn) { + mp_clear(bn); +}
\ No newline at end of file |
