Skip to content

Changes to SHAKE in preparation for Dilithium support#86

Merged
bwesterb merged 1 commit intocloudflare:masterfrom
bwesterb:move-shake
Feb 13, 2020
Merged

Changes to SHAKE in preparation for Dilithium support#86
bwesterb merged 1 commit intocloudflare:masterfrom
bwesterb:move-shake

Conversation

@bwesterb
Copy link
Copy Markdown
Member

  1. (Re)add support for SHAKE-256.
  2. Reduce allocations. The byte-slice in the shake State struct
    confused Go's escape analysis and forced it onto the Heap.
  3. Move out of dh/sidh as it will be used by sign/dilithium.

1. (Re)add support for SHAKE-256.
2. Reduce allocations.  The byte-slice in the shake State struct
   confused Go's escape analysis and forced it onto the Heap.
3. Move out of dh/sidh as it will be used by sign/dilithium.
Copy link
Copy Markdown
Contributor

@armfazh armfazh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree on moving shake package.
I think it is valuable to have your changes on shake internals in the go upstream version.

@bwesterb bwesterb merged commit 079bd20 into cloudflare:master Feb 13, 2020
@bwesterb
Copy link
Copy Markdown
Member Author

Ok, will prepare a PR later this week.

@bwesterb bwesterb deleted the move-shake branch February 13, 2020 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants