diff options
| author | J08nY | 2020-02-28 17:25:51 +0100 |
|---|---|---|
| committer | J08nY | 2020-02-28 17:35:08 +0100 |
| commit | 0341d359dc67ced3f1e65d1d11af3590c1f0992f (patch) | |
| tree | 660140e64e8abe7647554e1424b1678a3ab98631 /pyecsca/codegen/bn | |
| parent | b387d00511a03dc20e15ac55fcbf07f3dfa79ce0 (diff) | |
| download | pyecsca-codegen-0341d359dc67ced3f1e65d1d11af3590c1f0992f.tar.gz pyecsca-codegen-0341d359dc67ced3f1e65d1d11af3590c1f0992f.tar.zst pyecsca-codegen-0341d359dc67ced3f1e65d1d11af3590c1f0992f.zip | |
Add dynamic triggering.
Diffstat (limited to 'pyecsca/codegen/bn')
| -rw-r--r-- | pyecsca/codegen/bn/bn.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pyecsca/codegen/bn/bn.h b/pyecsca/codegen/bn/bn.h index 862b67c..eb6e942 100644 --- a/pyecsca/codegen/bn/bn.h +++ b/pyecsca/codegen/bn/bn.h @@ -50,12 +50,6 @@ size_t bn_to_bin_size(const bn_t *one); bn_err bn_rand_mod_sample(bn_t *out, const bn_t *mod); bn_err bn_rand_mod_reduce(bn_t *out, const bn_t *mod); -#if MOD_RAND == MOD_RAND_SAMPLE -#define bn_rand_mod bn_rand_mod_sample -#elif MOD_RAND == MOD_RAND_REDUCE -#define bn_rand_mod bn_rand_mod_reduce -#endif - bn_err bn_mod_add(const bn_t *one, const bn_t *other, const bn_t *mod, bn_t *out); bn_err bn_mod_sub(const bn_t *one, const bn_t *other, const bn_t *mod, bn_t *out); bn_err bn_mod_neg(const bn_t *one, const bn_t *mod, bn_t *out); |
