Menu

#153 Optimize hash use during re-signing

2.6.7
open
nobody
5
2013-01-25
2012-10-03
No

CPU cycles could be saved during re-signing with header binding if a hash state could be copied from a header canonicalization handle prior to the final signature being added to it so that a different signature could be added to the same header set without re-running all the headers.

When re-signing a signing handle, this is possibly fairly easy. When re-signing a verifying handle, the header hash is generated start-to-finish in one API call, so there would have to be a hook in there to make the copy/copies, or a list of re-signing handles to which the state needs to be copied.

Discussion

  • Murray S. Kucherawy

    • priority: 5 --> 6
     
  • Murray S. Kucherawy

    • priority: 6 --> 5
     

Log in to post a comment.