aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-01 19:47:50 -0400
committerRob Austein <sra@hactrn.net>2016-11-01 19:47:50 -0400
commitd844d764a4f0614bf378331b007467de288f74eb (patch)
tree57b8645d338f1549d2b06c4bc3b22c0a6ef950bc /hal.h
parentd3301ac269431c5aa45061abdb2d4400793b1eee (diff)
Add hal_rpc_pkey_get_key_curve().
Incidental minor refactoring of hal_rpc_server_dispatch().
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index d68a67b..9ac17dc 100644
--- a/hal.h
+++ b/hal.h
@@ -736,6 +736,9 @@ extern hal_error_t hal_rpc_pkey_delete(const hal_pkey_handle_t pkey);
extern hal_error_t hal_rpc_pkey_get_key_type(const hal_pkey_handle_t pkey,
hal_key_type_t *type);
+extern hal_error_t hal_rpc_pkey_get_key_curve(const hal_pkey_handle_t pkey,
+ hal_curve_name_t *curve);
+
extern hal_error_t hal_rpc_pkey_get_key_flags(const hal_pkey_handle_t pkey,
hal_key_flags_t *flags);