aboutsummaryrefslogtreecommitdiff
path: root/modexp.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-04 15:39:08 -0400
committerRob Austein <sra@hactrn.net>2015-10-04 15:39:08 -0400
commite164eecc55dd96efc98d2c723e96aaaecdcfda13 (patch)
treee7f9b5b5c82c893ac92a76417bab22af51206fa7 /modexp.c
parent60cce0124f2fc3eddca03ed3950da9238247a612 (diff)
off_t => hal_addr_t.
Diffstat (limited to 'modexp.c')
-rw-r--r--modexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modexp.c b/modexp.c
index 11a8d21..b82f1ff 100644
--- a/modexp.c
+++ b/modexp.c
@@ -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)
{