From 46e73ec4d2bb235a4905a21feb33705b696edf5f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 14 Oct 2016 19:24:34 -0400 Subject: 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. --- hal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hal.h') 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 */ -- cgit v1.2.3