aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-10 09:48:45 -0500
committerRob Austein <sra@hactrn.net>2016-11-10 09:48:45 -0500
commit1f78f1bad3ab08706df3030936275b6114f31e24 (patch)
tree005403ee09ad1dac1ca8c8d33385a86b93a05584 /hal.h
parent09a065bb67bf055da0417a6c972c11ba5ab13da0 (diff)
First cut at ks_flash support for attribute get/set/delete API.
Passes minimal unit-testing and the same minimal tests report that it does deliver the desired performance speed-up. More testing and much cleanup still needed. Attribute API not quite stable yet, we're probably going to want to remove all the singleton attribute operations from the RPC protocol, and it turns out that ks_delete_attributes() has enough code in common with ks_set_attributes() that it makes more sense to handle the former as a special case of the latter.
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 74e0a51..59018ea 100644
--- a/hal.h
+++ b/hal.h
@@ -156,6 +156,7 @@
DEFINE_HAL_ERROR(HAL_ERROR_KSI_INDEX_CHUNK_OVERLAPS, "Key index chunk overlaps") \
DEFINE_HAL_ERROR(HAL_ERROR_KEYSTORE_WRONG_BLOCK_TYPE, "Wrong block type in keystore") \
DEFINE_HAL_ERROR(HAL_ERROR_RPC_PROTOCOL_ERROR, "RPC protocol error") \
+ DEFINE_HAL_ERROR(HAL_ERROR_NOT_IMPLEMENTED, "Not implemented") \
END_OF_HAL_ERROR_LIST
/* Marker to forestall silly line continuation errors */