mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
fix 1.17 error
This commit is contained in:
parent
8cb1e257dc
commit
f5bd2cabad
@ -4,6 +4,8 @@
|
|||||||
// 256-bit primes"
|
// 256-bit primes"
|
||||||
// https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
|
// https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
|
||||||
// https://eprint.iacr.org/2013/816.pdf
|
// https://eprint.iacr.org/2013/816.pdf
|
||||||
|
//go:build amd64 && !generic
|
||||||
|
// +build amd64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
// 256-bit primes"
|
// 256-bit primes"
|
||||||
// http://link.springer.com/article/10.1007%2Fs13389-014-0090-x
|
// http://link.springer.com/article/10.1007%2Fs13389-014-0090-x
|
||||||
// https://eprint.iacr.org/2013/816.pdf
|
// https://eprint.iacr.org/2013/816.pdf
|
||||||
|
//go:build arm64 && !generic
|
||||||
|
// +build arm64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//go:build amd64 && !generic
|
||||||
|
// +build amd64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
// Wt = Mt; for 0 <= t <= 3
|
// Wt = Mt; for 0 <= t <= 3
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//go:build arm64 && !generic
|
||||||
|
// +build arm64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
#define SI R0
|
#define SI R0
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// Generated by gen_sm3block_ni.go. DO NOT EDIT.
|
// Generated by gen_sm3block_ni.go. DO NOT EDIT.
|
||||||
|
//go:build arm64 && !generic
|
||||||
|
// +build arm64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
// This SM4 implementation referenced https://github.com/mjosaarinen/sm4ni/blob/master/sm4ni.c
|
// This SM4 implementation referenced https://github.com/mjosaarinen/sm4ni/blob/master/sm4ni.c
|
||||||
|
//go:build amd64 && !generic
|
||||||
|
// +build amd64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
#define x X0
|
#define x X0
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//go:build arm64 && !generic
|
||||||
|
// +build arm64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
#define x V0
|
#define x V0
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
// Instruction and its Usage for Computing the GCM Mode rev. 2.02
|
// Instruction and its Usage for Computing the GCM Mode rev. 2.02
|
||||||
// [2] Gueron, S., Krasnov, V.: Speeding up Counter Mode in Software and
|
// [2] Gueron, S., Krasnov, V.: Speeding up Counter Mode in Software and
|
||||||
// Hardware
|
// Hardware
|
||||||
|
//go:build amd64 && !generic
|
||||||
|
// +build amd64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//go:build arm64 && !generic
|
||||||
|
// +build arm64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
//nibble mask
|
//nibble mask
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//go:build arm64 && !generic
|
||||||
|
// +build arm64,!generic
|
||||||
|
|
||||||
#include "textflag.h"
|
#include "textflag.h"
|
||||||
|
|
||||||
#define B0 V0
|
#define B0 V0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user