1// Copyright 2018 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5// +build s390x,!go1.11 !arm,!amd64,!s390x gccgo appengine nacl 6 7package poly1305 8 9// Sum generates an authenticator for msg using a one-time key and puts the 10// 16-byte result into out. Authenticating two different messages with the same 11// key allows an attacker to forge messages at will. 12func Sum(out *[TagSize]byte, msg []byte, key *[32]byte) { 13 sumGeneric(out, msg, key) 14} 15