Try using io.Writer for ReadSignedData() #39

Open
opened 2023-06-02 14:31:28 +00:00 by fyrchik · 1 comment
Owner

For signing we usually need only hash.

  1. Try to change our plugin to emit code which works with the io.Writer.
  2. Compare performance with the current implementation.
  3. Try using sha512 as Writer and use SignHash/VerifyHash directly (not that it only applies to some schemes, others can use different hashes).
For signing we usually need only hash. 1. Try to change our plugin to emit code which works with the `io.Writer`. 2. Compare performance with the current implementation. 3. Try using `sha512` as Writer and use `SignHash`/`VerifyHash` directly (not that it only applies to some schemes, others can use different hashes).
Author
Owner

Actually sha512 may not be optimal here, probably need to wrap in a buffered reader (the optimal size depends on the hashing).

Actually sha512 may not be optimal here, probably need to wrap in a buffered reader (the optimal size depends on the hashing).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-api-go#39
No description provided.