-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework rpc_C_DeriveKey to allow size queries
This adds support to the rpc_C_DeriveKey to send the mechanism parameter back to the client after the actual call. This is necessary to allow size queries for potential output fields in the parameter. In this case the call itself will fail but instead of writing an error response the client has to get the updated parameter. For this the server will send the error code along with the parameter back to the client that then can allocate space for the output fields in the parameter and do the call again. Since this will lead to a backwards compatability problem within the RPC protocol the version is bumped.
- Loading branch information
1 parent
e2f514f
commit 6449cfe
Showing
6 changed files
with
295 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.