Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
1c42d72e47 | |||
578054d2d5 |
BIN
msr/lib/arm64/libsidh503.a
Normal file
BIN
msr/lib/arm64/libsidh503.a
Normal file
Binary file not shown.
BIN
msr/lib/arm64/libsidh751.a
Normal file
BIN
msr/lib/arm64/libsidh751.a
Normal file
Binary file not shown.
@ -2,14 +2,14 @@ package main
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo CFLAGS: -I../msr/include
|
#cgo CFLAGS: -I../msr/include
|
||||||
#cgo LDFLAGS: -L../msr/lib/intel -lsidh503 -lsidh751
|
#cgo LDFLAGS: -L../msr/lib/arm64 -lsidh503
|
||||||
#include <P503_api.h>
|
#include <P503_api.h>
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
import "fmt"
|
import "fmt"
|
||||||
import rand "crypto/rand"
|
import rand "crypto/rand"
|
||||||
import sidh "github.com/cloudflare/p751sidh/sidh"
|
import sidh "github.com/cloudflare/sidh/sidh"
|
||||||
import sike "github.com/cloudflare/p751sidh/sike"
|
import sike "github.com/cloudflare/sidh/sike"
|
||||||
import "unsafe"
|
import "unsafe"
|
||||||
import "runtime"
|
import "runtime"
|
||||||
|
|
||||||
|
@ -2,14 +2,14 @@ package main
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo CFLAGS: -I../msr/include
|
#cgo CFLAGS: -I../msr/include
|
||||||
#cgo LDFLAGS: -L../msr/lib/intel -lsidh751
|
#cgo LDFLAGS: -L../msr/lib/arm64 -lsidh751
|
||||||
#include <P751_api.h>
|
#include <P751_api.h>
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
import "fmt"
|
import "fmt"
|
||||||
import rand "crypto/rand"
|
import rand "crypto/rand"
|
||||||
import sidh "github.com/cloudflare/p751sidh/sidh"
|
import sidh "github.com/cloudflare/sidh/sidh"
|
||||||
import sike "github.com/cloudflare/p751sidh/sike"
|
import sike "github.com/cloudflare/sidh/sike"
|
||||||
import "unsafe"
|
import "unsafe"
|
||||||
import "runtime"
|
import "runtime"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user