Commit d1fee626 authored by Shenghou Ma's avatar Shenghou Ma

crypto/rc4: disable assembly implementation for nacl/arm.

It uses an unsupported addressing mode.

LGTM=iant, rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/106370043
parent 837bc4e5
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !nacl
#include "../../../cmd/ld/textflag.h" #include "../../../cmd/ld/textflag.h"
// Registers // Registers
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build amd64 amd64p32 arm 386 // +build amd64 amd64p32 arm,!nacl 386
package rc4 package rc4
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !amd64,!amd64p32,!arm,!386 // +build !amd64,!amd64p32,!arm,!386 arm,nacl
package rc4 package rc4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment