diff options
author | Rob Austein <sra@hactrn.net> | 2017-09-09 02:08:16 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-09-09 02:08:16 -0400 |
commit | 68019ff9624747d3505ef60d3dfb3cfc9b5d7720 (patch) | |
tree | 2d96de19bc1ce2f87201305c2a804a5e8d2f374f /modexp.c | |
parent | ca6432daebfcca16d55c07e588f96202d77109fb (diff) |
Whack with club until compiles.
Diffstat (limited to 'modexp.c')
-rw-r--r-- | modexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -64,7 +64,7 @@ void hal_modexp_set_debug(const int onoff) static hal_error_t inline get_register(const hal_core_t *core, const hal_addr_t addr, - uint32_t &value) + uint32_t *value) { hal_error_t err; uint8_t w[4]; @@ -143,7 +143,7 @@ static inline hal_error_t set_buffer(const hal_core_t *core, const uint8_t * const value, const size_t length) { - hal_error_t; + hal_error_t err; size_t i; if (value == NULL || length % 4 != 0) @@ -217,7 +217,7 @@ hal_error_t hal_modexp(hal_core_t *core, * says it can handle. */ - uint32_t operand_max; + uint32_t operand_max = 0; check(get_register(core, MODEXPA7_ADDR_BUFFER_BITS, &operand_max)); operand_max /= 8; |