diff options
author | Rob Austein <sra@hactrn.net> | 2017-05-30 18:54:41 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-05-30 18:54:41 -0400 |
commit | f3a7d2993b46e981208ac68996db609a31d80163 (patch) | |
tree | e32e9fbbfcc1017d8755fc8aeab67dc288cd5e0e /hal_internal.h | |
parent | ade02ebabf88481bc763ea6a9b2f97e87f0a6210 (diff) | |
parent | 358b3803cdedad607cf649221d0b7e3ce66b45f2 (diff) |
Merge branch 'logout' into ks9
The internal keystore API has changed enough since where the "logout"
branch forked that a plain merge would have no prayer of compiling,
must less running. So this merge goes well beyond manual conflict
resolution: it salvages the useful code from the "logout" branch, with
additional code as needed to reimplement the functionality. Sorry.
Diffstat (limited to 'hal_internal.h')
-rw-r--r-- | hal_internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hal_internal.h b/hal_internal.h index add7890..2486fd2 100644 --- a/hal_internal.h +++ b/hal_internal.h @@ -432,6 +432,12 @@ extern hal_error_t hal_mkm_flash_erase(const size_t len); #endif /* + * Clean up pkey stuff that's tied to a particular client on logout. + */ + +extern hal_error_t hal_pkey_logout(const hal_client_handle_t client); + +/* * Keystore API for use by the pkey implementation. * * In an attempt to emulate what current theory says will eventually @@ -522,6 +528,9 @@ extern hal_error_t hal_ks_get_attributes(hal_ks_t *ks, uint8_t *attributes_buffer, const size_t attributes_buffer_len); +extern hal_error_t hal_ks_logout(hal_ks_t *ks, + const hal_client_handle_t client); + /* * RPC lowest-level send and receive routines. These are blocking, and * transport-specific (sockets, USB). |