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