aboutsummaryrefslogtreecommitdiff
path: root/rpc_api.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-10 21:44:22 -0500
committerRob Austein <sra@hactrn.net>2016-11-10 21:44:22 -0500
commit2ff032823f6acf0cc409c0e541041ebe1f0dbc75 (patch)
tree547c9c218a147f500c341e74afa8df2ba8642c1e /rpc_api.c
parent1f78f1bad3ab08706df3030936275b6114f31e24 (diff)
Clean out huge swacks of RPC API we don't need anymore.
pkey attribute API is now just set_attributes() and get_attributes().
Diffstat (limited to 'rpc_api.c')
-rw-r--r--rpc_api.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/rpc_api.c b/rpc_api.c
index 772d522..d908e8f 100644
--- a/rpc_api.c
+++ b/rpc_api.c
@@ -372,33 +372,6 @@ hal_error_t hal_rpc_pkey_match(const hal_client_handle_t client,
result, result_len, result_max, previous_uuid);
}
-hal_error_t hal_rpc_pkey_set_attribute(const hal_pkey_handle_t pkey,
- const uint32_t type,
- const uint8_t * const value,
- const size_t value_len)
-{
- if (value == NULL)
- return HAL_ERROR_BAD_ARGUMENTS;
- return hal_rpc_pkey_dispatch->set_attribute(pkey, type, value, value_len);
-}
-
-hal_error_t hal_rpc_pkey_get_attribute(const hal_pkey_handle_t pkey,
- const uint32_t type,
- uint8_t *value,
- size_t *value_len,
- const size_t value_max)
-{
- if (value == NULL || value_len == NULL)
- return HAL_ERROR_BAD_ARGUMENTS;
- return hal_rpc_pkey_dispatch->get_attribute(pkey, type, value, value_len, value_max);
-}
-
-hal_error_t hal_rpc_pkey_delete_attribute(const hal_pkey_handle_t pkey,
- const uint32_t type)
-{
- return hal_rpc_pkey_dispatch->delete_attribute(pkey, type);
-}
-
hal_error_t hal_rpc_pkey_set_attributes(const hal_pkey_handle_t pkey,
const hal_rpc_pkey_attribute_t *attributes,
const unsigned attributes_len)
@@ -420,15 +393,6 @@ hal_error_t hal_rpc_pkey_get_attributes(const hal_pkey_handle_t pkey,
attributes_buffer, attributes_buffer_len);
}
-hal_error_t hal_rpc_pkey_delete_attributes(const hal_pkey_handle_t pkey,
- const uint32_t * const types,
- const unsigned types_len)
-{
- if (types == NULL || types_len == 0)
- return HAL_ERROR_BAD_ARGUMENTS;
- return hal_rpc_pkey_dispatch->delete_attributes(pkey, types, types_len);
-}
-
/*
* Local variables:
* indent-tabs-mode: nil