Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
deatil committed Feb 2, 2024
1 parent 4f2bab6 commit 717cf1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gm/sm2/sm2curve/sm2ec_asm.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func p256Sqrt(e, x *p256Element) (isSquare bool) {
return true
}

// The following assembly functions are implemented in p256_asm_*.s
// The following assembly functions are implemented in sm2ec_asm_*.s
var supportBMI2 = cpu.X86.HasBMI2

var supportAVX2 = cpu.X86.HasAVX2
Expand Down
2 changes: 1 addition & 1 deletion gm/sm2/sm2curve/sm2ec_asm_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// +build amd64,!purego,!plugin

#include "textflag.h"
#include "p256_macros_amd64.s"
#include "sm2ec_macros_amd64.s"
#define t1 R15

/* ---------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion gm/sm2/sm2curve/sm2ec_common_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "textflag.h"

#include "p256_macros_amd64.s"
#include "sm2ec_macros_amd64.s"

/* ---------------------------------------*/
// func p256OrdLittleToBig(res *[32]byte, in *p256OrdElement)
Expand Down
2 changes: 1 addition & 1 deletion gm/sm2/sm2curve/sm2ec_plugin_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "textflag.h"

#include "p256_macros_amd64.s"
#include "sm2ec_macros_amd64.s"

/* ---------------------------------------*/
// func p256Sqr(res, in *p256Element, n int)
Expand Down

0 comments on commit 717cf1e

Please sign in to comment.