Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sha256/sha256block.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !386,!amd64
// +build !gc

// SHA256 block step.
// In its own file so that a faster assembly or C version
Expand Down
2 changes: 2 additions & 0 deletions sha256/sha256block_386.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build gc

// SHA256 block routine. See sha256block.go for Go equivalent.
//
// The algorithm is detailed in FIPS 180-4:
Expand Down
2 changes: 2 additions & 0 deletions sha256/sha256block_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build gc

#include "textflag.h"

// SHA256 block routine. See sha256block.go for Go equivalent.
Expand Down
2 changes: 1 addition & 1 deletion sha512/sha512block.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !amd64
// +build !gc

// SHA512 block step.
// In its own file so that a faster assembly or C version
Expand Down
2 changes: 2 additions & 0 deletions sha512/sha512block_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build gc

#include "textflag.h"

// SHA512 block routine. See sha512block.go for Go equivalent.
Expand Down