aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-06-24 13:12:17 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-06-24 13:12:17 +0200
commit155f2d9cede0a650a49a13f4e47e1768919ee4ca (patch)
treef7d8e804cdc46be8fb3712d29017568fe8d4eefa /hal.h
parent715159e83b97e78a779bfeb38d634decd8e499fc (diff)
Use hal_error_t as suggested by Rob.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index 776acac..04dab48 100644
--- a/hal.h
+++ b/hal.h
@@ -139,6 +139,9 @@
DEFINE_HAL_ERROR(HAL_ERROR_RPC_PACKET_OVERFLOW, "RPC packet overflow") \
DEFINE_HAL_ERROR(HAL_ERROR_RPC_BAD_FUNCTION, "Bad RPC function number") \
DEFINE_HAL_ERROR(HAL_ERROR_KEY_NAME_TOO_LONG, "Key name too long") \
+ DEFINE_HAL_ERROR(HAL_ERROR_MASTERKEY_NOT_SET, "Master key (Key Encryption Key) not set") \
+ DEFINE_HAL_ERROR(HAL_ERROR_MASTERKEY_FAIL, "Master key generic failure") \
+ DEFINE_HAL_ERROR(HAL_ERROR_MASTERKEY_BAD_LENGTH, "Master key of unacceptable length") \
END_OF_HAL_ERROR_LIST
/* Marker to forestall silly line continuation errors */