diff --git a/pkg/entropy/binary_arm64.go b/pkg/entropy/binary_be.go similarity index 80% rename from pkg/entropy/binary_arm64.go rename to pkg/entropy/binary_be.go index 7359308..5a5210a 100644 --- a/pkg/entropy/binary_arm64.go +++ b/pkg/entropy/binary_be.go @@ -1,3 +1,5 @@ +// +build armbe arm64be ppc64 mips mips64 mips64p32 ppc s390 s390x sparc sparc64 + /* binary_arm64.go: sets the host byte order for arm64 * * Author: J. Lowell Wofford diff --git a/pkg/entropy/binary_amd64.go b/pkg/entropy/binary_le.go similarity index 79% rename from pkg/entropy/binary_amd64.go rename to pkg/entropy/binary_le.go index 8b12bfe..4b27600 100644 --- a/pkg/entropy/binary_amd64.go +++ b/pkg/entropy/binary_le.go @@ -1,3 +1,5 @@ +// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64p32le riscv riscv64 wasm + /* binary_amd64.go: sets the host byte order for amd64 * * Author: J. Lowell Wofford diff --git a/pkg/entropy/constants_linux.go b/pkg/entropy/constants_linux.go index feb9539..bf6a095 100644 --- a/pkg/entropy/constants_linux.go +++ b/pkg/entropy/constants_linux.go @@ -11,4 +11,3 @@ const ( RNDCLEARPOOL = 0x5206 RNDRESEEDCRNG = 0x5207 ) -