open-consul/vendor/golang.org/x/crypto/poly1305/mac_noasm.go

12 lines
318 B
Go
Raw Normal View History

2018-06-21 14:49:35 +00:00
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !amd64,!ppc64le gccgo appengine
2018-06-21 14:49:35 +00:00
package poly1305
2018-06-21 14:49:35 +00:00
type mac struct{ macGeneric }
func newMAC(key *[32]byte) mac { return mac{newMACGeneric(key)} }