mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b3251001c6
Fixes issues with salsa which is used in swarmkit, see https://github.com/docker/swarmkit/pull/2838 As we only encrypt small values this should be a non breaking change. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
11 lines
309 B
Go
11 lines
309 B
Go
// 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 gccgo appengine
|
|
|
|
package poly1305
|
|
|
|
type mac struct{ macGeneric }
|
|
|
|
func newMAC(key *[32]byte) mac { return mac{newMACGeneric(key)} }
|