Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things.
This commit is contained in:
7
ext/ed25519-amd64-asm/ge25519_base.c
Normal file
7
ext/ed25519-amd64-asm/ge25519_base.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "ge25519.h"
|
||||
|
||||
const ge25519 ge25519_base = {{{0xC9562D608F25D51A, 0x692CC7609525A7B2, 0xC0A4E231FDD6DC5C, 0x216936D3CD6E53FE}},
|
||||
{{0x6666666666666658, 0x6666666666666666, 0x6666666666666666, 0x6666666666666666}},
|
||||
{{0x0000000000000001, 0x0000000000000000, 0x0000000000000000, 000000000000000000}},
|
||||
{{0x6DDE8AB3A5B7DDA3, 0x20F09F80775152F5, 0x66EA4E8E64ABE37D, 0x67875F0FD78B7665}}};
|
||||
|
||||
Reference in New Issue
Block a user