]> Cypherpunks repositories - gostls13.git/commit
crypto/aes: add s390x assembly implementation
authorMichael Munday <munday@ca.ibm.com>
Fri, 15 Apr 2016 22:45:17 +0000 (18:45 -0400)
committerMichael Munday <munday@ca.ibm.com>
Wed, 20 Apr 2016 17:02:14 +0000 (17:02 +0000)
commit46efe0bc7fb1933c74d80cd3fe7c47f21d042a5d
tree43b52b26f6ae1de64e6350a0a0d59592fef37655
parentb57ac333310e8b8ec01708dcca99430b641457c5
crypto/aes: add s390x assembly implementation

Adds support for single block encryption using the cipher message
(KM) instruction. KM handles key expansion internally and
therefore it is not done up front when using the assembly
implementation on s390x.

Change-Id: I69954b8ae36d549e1dc40d7acd5a10bedfaaef9c
Reviewed-on: https://go-review.googlesource.com/22194
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bill O'Farrell <billotosyr@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/aes/asm_s390x.s [new file with mode: 0644]
src/crypto/aes/cipher_generic.go
src/crypto/aes/cipher_s390x.go [new file with mode: 0644]