]> Cypherpunks repositories - gostls13.git/commit
crypto/aes: Made faster by eliminating some indirection
authorTaru Karttunen <taruti@taruti.net>
Mon, 12 Dec 2011 14:58:04 +0000 (09:58 -0500)
committerAdam Langley <agl@golang.org>
Mon, 12 Dec 2011 14:58:04 +0000 (09:58 -0500)
commita620f2b73ab1642fcd53fcc9cc5ada31ebdae455
tree8386179ae77d725608a559fd8692cb4caa636c21
parent4068e3fc7049e70f734b80d9efb8f0b4551dc360
crypto/aes: Made faster by eliminating some indirection

Made te and td arrays into variables te0-3 and td0-3,
which improves performance from 7000ns/op to 5800.

R=rsc, rogpeppe, agl
CC=golang-dev
https://golang.org/cl/5449077
src/pkg/crypto/aes/aes_test.go
src/pkg/crypto/aes/block.go
src/pkg/crypto/aes/const.go