aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-10-14 19:24:34 -0400
committerRob Austein <sra@hactrn.net>2016-10-14 19:24:34 -0400
commit46e73ec4d2bb235a4905a21feb33705b696edf5f (patch)
tree5e6c48507fd45e4d1793a1d4688b5cc0661bd444 /hal.h
parent015eefa32f54f84c56bb7c6d36c0edcc104a69e8 (diff)
Keystore attribute code. Not really tested.
Passes PKCS #11 "make test" but nothing uses the new attribute code yet. Refactored some of the flash block update code. Attribute code is annoyingly verbose, might be possible to refactor some of that.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index 6bb2f67..21104c3 100644
--- a/hal.h
+++ b/hal.h
@@ -149,6 +149,7 @@
DEFINE_HAL_ERROR(HAL_ERROR_KEYSTORE_LOST_DATA, "Keystore appears to have lost data") \
DEFINE_HAL_ERROR(HAL_ERROR_BAD_ATTRIBUTE_LENGTH, "Bad attribute length") \
DEFINE_HAL_ERROR(HAL_ERROR_ATTRIBUTE_NOT_FOUND, "Attribute not found") \
+ DEFINE_HAL_ERROR(HAL_ERROR_NO_KEY_INDEX_SLOTS, "No key index slots available") \
END_OF_HAL_ERROR_LIST
/* Marker to forestall silly line continuation errors */