aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2019-12-02 15:38:58 -0500
committerPaul Selkirk <paul@psgd.org>2019-12-02 15:38:58 -0500
commit4fd9d1186efed0de8e3ae1d1e2fa5a0e5c46c2fb (patch)
tree6ca093d7ca03ab8f179d23dc7fa9b001e377de65 /hal.h
parent323bc8ade3eae73174961bbf604257a1b099fe55 (diff)
After some thought, I'd rather make raw export/import a sub-function of
key export/import (kekek = none, kek_len = 0), rather than separate RPCs.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/hal.h b/hal.h
index 1a08690..e2cb3ac 100644
--- a/hal.h
+++ b/hal.h
@@ -893,9 +893,6 @@ extern hal_error_t hal_rpc_pkey_export(const hal_pkey_handle_t pkey,
uint8_t *pkcs8, size_t *pkcs8_len, const size_t pkcs8_max,
uint8_t *kek, size_t *kek_len, const size_t kek_max);
-extern hal_error_t hal_rpc_pkey_export_raw(const hal_pkey_handle_t pkey,
- uint8_t *pkcs8, size_t *pkcs8_len, const size_t pkcs8_max);
-
extern hal_error_t hal_rpc_pkey_import(const hal_client_handle_t client,
const hal_session_handle_t session,
hal_pkey_handle_t *pkey,
@@ -905,13 +902,6 @@ extern hal_error_t hal_rpc_pkey_import(const hal_client_handle_t client,
const uint8_t * const kek, const size_t kek_len,
const hal_key_flags_t flags);
-extern hal_error_t hal_rpc_pkey_import_raw(const hal_client_handle_t client,
- const hal_session_handle_t session,
- hal_pkey_handle_t *pkey,
- hal_uuid_t *name,
- const uint8_t * const pkcs8, const size_t pkcs8_len,
- const hal_key_flags_t flags);
-
extern hal_error_t hal_rpc_client_init(void);
extern hal_error_t hal_rpc_client_close(void);