Skip to content

Commit

Permalink
blake2b: drop Go 1.6, Go 1.8 compatibility
Browse files Browse the repository at this point in the history
Other packages already dropped compatibility with go < 1.12, so it
should be safe to remove it for this package as well.
  • Loading branch information
thaJeztah committed Nov 15, 2022
1 parent 6fad3df commit 4a1a71b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 32 deletions.
4 changes: 2 additions & 2 deletions blake2b/blake2bAVX2_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.7 && amd64 && gc && !purego
// +build go1.7,amd64,gc,!purego
//go:build amd64 && gc && !purego
// +build amd64,gc,!purego

package blake2b

Expand Down
4 changes: 2 additions & 2 deletions blake2b/blake2bAVX2_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.7 && amd64 && gc && !purego
// +build go1.7,amd64,gc,!purego
//go:build amd64 && gc && !purego
// +build amd64,gc,!purego

#include "textflag.h"

Expand Down
25 changes: 0 additions & 25 deletions blake2b/blake2b_amd64.go

This file was deleted.

3 changes: 0 additions & 3 deletions blake2b/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.9
// +build go1.9

package blake2b

import (
Expand Down

0 comments on commit 4a1a71b

Please sign in to comment.