fix 1.17 error

This commit is contained in:
Sun Yimin 2022-06-14 08:57:25 +08:00 committed by GitHub
parent 8cb1e257dc
commit f5bd2cabad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 26 additions and 0 deletions

View File

@ -4,6 +4,8 @@
// 256-bit primes"
// https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
// https://eprint.iacr.org/2013/816.pdf
//go:build amd64 && !generic
// +build amd64,!generic
#include "textflag.h"

View File

@ -4,6 +4,8 @@
// 256-bit primes"
// http://link.springer.com/article/10.1007%2Fs13389-014-0090-x
// https://eprint.iacr.org/2013/816.pdf
//go:build arm64 && !generic
// +build arm64,!generic
#include "textflag.h"

View File

@ -1,3 +1,6 @@
//go:build amd64 && !generic
// +build amd64,!generic
#include "textflag.h"
// Wt = Mt; for 0 <= t <= 3

View File

@ -1,3 +1,6 @@
//go:build arm64 && !generic
// +build arm64,!generic
#include "textflag.h"
#define SI R0

View File

@ -1,4 +1,6 @@
// Generated by gen_sm3block_ni.go. DO NOT EDIT.
//go:build arm64 && !generic
// +build arm64,!generic
#include "textflag.h"

View File

@ -1,4 +1,7 @@
// This SM4 implementation referenced https://github.com/mjosaarinen/sm4ni/blob/master/sm4ni.c
//go:build amd64 && !generic
// +build amd64,!generic
#include "textflag.h"
#define x X0

View File

@ -1,3 +1,6 @@
//go:build arm64 && !generic
// +build arm64,!generic
#include "textflag.h"
#define x V0

View File

@ -4,6 +4,8 @@
// Instruction and its Usage for Computing the GCM Mode rev. 2.02
// [2] Gueron, S., Krasnov, V.: Speeding up Counter Mode in Software and
// Hardware
//go:build amd64 && !generic
// +build amd64,!generic
#include "textflag.h"

View File

@ -1,3 +1,6 @@
//go:build arm64 && !generic
// +build arm64,!generic
#include "textflag.h"
//nibble mask

View File

@ -1,3 +1,6 @@
//go:build arm64 && !generic
// +build arm64,!generic
#include "textflag.h"
#define B0 V0