diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-04 15:39:08 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-04 15:39:08 -0400 |
commit | e164eecc55dd96efc98d2c723e96aaaecdcfda13 (patch) | |
tree | e7f9b5b5c82c893ac92a76417bab22af51206fa7 /modexp.c | |
parent | 60cce0124f2fc3eddca03ed3950da9238247a612 (diff) |
off_t => hal_addr_t.
Diffstat (limited to 'modexp.c')
-rw-r--r-- | modexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -76,7 +76,7 @@ void hal_modexp_set_debug(const int onoff) * Set an ordinary register. */ -static hal_error_t set_register(const off_t addr, +static hal_error_t set_register(const hal_addr_t addr, uint32_t value) { uint8_t w[4]; @@ -96,7 +96,7 @@ static hal_error_t set_register(const off_t addr, * expects. */ -static hal_error_t get_buffer(const off_t data_addr, +static hal_error_t get_buffer(const hal_addr_t data_addr, uint8_t *value, const size_t length) { @@ -116,7 +116,7 @@ static hal_error_t get_buffer(const off_t data_addr, * expects. */ -static hal_error_t set_buffer(const off_t data_addr, +static hal_error_t set_buffer(const hal_addr_t data_addr, const uint8_t * const value, const size_t length) { |