]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: add s390x crypto related instructions
authorSrinivas Pokala <Pokala.Srinivas@ibm.com>
Wed, 12 Jul 2023 12:47:31 +0000 (14:47 +0200)
committerCherry Mui <cherryyz@google.com>
Wed, 2 Aug 2023 19:58:18 +0000 (19:58 +0000)
commited8cbaf6ac58120c7171dadaaa091f031712c6d2
tree3dc2580ef70446d57f2062359efe062aa9fff03e
parentfbf9076ee8c8f665f1e8bba08fdc473cc7a2d690
cmd/asm: add s390x crypto related instructions

This CL add's the following instructions,useful for cipher and
message digest operations:

 * KM   - cipher message
 * KMC  - cipher message with chaining
 * KLMD - compute last message digest
 * KIMD - compute intermediate message digest

Fixes #61163

Change-Id: Ib0636430c3e4888ed61b86c5acae45ee596463ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/509075
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/asm/internal/asm/testdata/s390x.s
src/cmd/internal/obj/s390x/a.out.go
src/cmd/internal/obj/s390x/anames.go
src/cmd/internal/obj/s390x/asmz.go
src/crypto/aes/asm_s390x.s
src/crypto/sha1/sha1block_s390x.s
src/crypto/sha256/sha256block_s390x.s
src/crypto/sha512/sha512block_s390x.s
src/internal/cpu/cpu_s390x.s