1 // Copyright 2019 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 //go:build go1.13 6 7 package poly1305 8 9 import "math/bits" 10 11 func bitsAdd64(x, y, carry uint64) (sum, carryOut uint64) { 12 return bits.Add64(x, y, carry) 13 } 14 15 func bitsSub64(x, y, borrow uint64) (diff, borrowOut uint64) { 16 return bits.Sub64(x, y, borrow) 17 } 18 19 func bitsMul64(x, y uint64) (hi, lo uint64) { 20 return bits.Mul64(x, y) 21 } 22