]> git.codecow.com Git - Monocypher.git/commit
SHA-512: hoisted w[] out of the round function
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 22 Jan 2018 21:38:05 +0000 (22:38 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 22 Jan 2018 21:43:56 +0000 (22:43 +0100)
commit93e89bf0a34df28e51e61da2fceba5f41fb17c98
tree8241fe772398c936ad0c824ef2b3de47453c47bf
parent8c8bda4a502778a3e98327db6b34f2bbfaf58330
SHA-512: hoisted w[] out of the round function

This avoids wiping w[] for each block, and reclaims the speed
we lost in the previous commit.  It's also simpler.
src/optional/sha512.c
src/optional/sha512.h