From 1f78f1bad3ab08706df3030936275b6114f31e24 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 10 Nov 2016 09:48:45 -0500 Subject: 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. --- libhal.py | 1 + 1 file changed, 1 insertion(+) (limited to 'libhal.py') diff --git a/libhal.py b/libhal.py index 4023edc..b243a26 100644 --- a/libhal.py +++ b/libhal.py @@ -113,6 +113,7 @@ HALError.define(HAL_ERROR_KSI_INDEX_CHUNK_MISSING = "Key index chunk missing") HALError.define(HAL_ERROR_KSI_INDEX_CHUNK_OVERLAPS = "Key index chunk overlaps") HALError.define(HAL_ERROR_KEYSTORE_WRONG_BLOCK_TYPE = "Wrong block type in keystore") HALError.define(HAL_ERROR_RPC_PROTOCOL_ERROR = "RPC protocol error") +HALError.define(HAL_ERROR_NOT_IMPLEMENTED = "Not implemented") class Enum(int): -- cgit v1.2.3