Fixes tests when using Go tip. Without this the link steps fails with errors like: missing Go type information for global symbol: google3/third_party/golang/go_crypto/curve25519/curve25519.REDMASK51 size 8 LGTM=agl R=agl CC=golang-codereviews https://golang.org/cl/156810043
23 lines
640 B
ArmAsm
23 lines
640 B
ArmAsm
// Copyright 2012 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.
|
|
|
|
// This code was translated into a form compatible with 6a from the public
|
|
// domain sources in SUPERCOP: http://bench.cr.yp.to/supercop.html
|
|
|
|
// +build amd64,!gccgo
|
|
|
|
#include "textflag.h"
|
|
|
|
DATA ·REDMASK51(SB)/8, $0x0007FFFFFFFFFFFF
|
|
GLOBL ·REDMASK51(SB), RODATA, $8
|
|
|
|
DATA ·_121666_213(SB)/8, $996687872
|
|
GLOBL ·_121666_213(SB), RODATA, $8
|
|
|
|
DATA ·_2P0(SB)/8, $0xFFFFFFFFFFFDA
|
|
GLOBL ·_2P0(SB), RODATA, $8
|
|
|
|
DATA ·_2P1234(SB)/8, $0xFFFFFFFFFFFFE
|
|
GLOBL ·_2P1234(SB), RODATA, $8
|