Skip to content

Commit

Permalink
internal/sm2ec: fix ppc64le incorrect K0 constant
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Aug 29, 2024
1 parent 5ddd288 commit d92f6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/sm2ec/p256_asm_ppc64le.s
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
// The following constants are defined in an order
// that is correct for use with LXVD2X/STXVD2X
// on little endian.
DATA p256ordK0<>+0x00(SB)/8, $0x72350975723509
DATA p256ordK0<>+0x08(SB)/8, $0x72350975723509
DATA p256ordK0<>+0x00(SB)/8, $0x7235097572350975
DATA p256ordK0<>+0x08(SB)/8, $0x7235097572350975
DATA p256ord<>+0x00(SB)/8, $0xfffffffeffffffff
DATA p256ord<>+0x08(SB)/8, $0xffffffffffffffff
DATA p256ord<>+0x10(SB)/8, $0x7203df6b21c6052b
Expand Down

1 comment on commit d92f6af

@emmansun
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.