Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crypto/batchverifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package crypto
// #cgo linux,amd64 CFLAGS: -I${SRCDIR}/libs/linux/amd64/include
// #cgo linux,arm64 CFLAGS: -I${SRCDIR}/libs/linux/arm64/include
// #cgo linux,arm CFLAGS: -I${SRCDIR}/libs/linux/arm/include
// #cgo linux,riscv64 CFLAGS: -I${SRCDIR}/libs/linux/riscv64/include
// #cgo windows,amd64 CFLAGS: -I${SRCDIR}/libs/windows/amd64/include
// #include <stdint.h>
// enum {
Expand Down
2 changes: 2 additions & 0 deletions crypto/curve25519.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ package crypto
// #cgo linux,arm64 LDFLAGS: ${SRCDIR}/libs/linux/arm64/lib/libsodium.a
// #cgo linux,arm CFLAGS: -I${SRCDIR}/libs/linux/arm/include
// #cgo linux,arm LDFLAGS: ${SRCDIR}/libs/linux/arm/lib/libsodium.a
// #cgo linux,riscv64 CFLAGS: -I${SRCDIR}/libs/linux/riscv64/include
// #cgo linux,riscv64 LDFLAGS: ${SRCDIR}/libs/linux/riscv64/lib/libsodium.a
// #cgo windows,amd64 CFLAGS: -I${SRCDIR}/libs/windows/amd64/include
// #cgo windows,amd64 LDFLAGS: ${SRCDIR}/libs/windows/amd64/lib/libsodium.a
// #include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/vrf.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package crypto
// #cgo linux,amd64 CFLAGS: -I${SRCDIR}/libs/linux/amd64/include
// #cgo linux,arm64 CFLAGS: -I${SRCDIR}/libs/linux/arm64/include
// #cgo linux,arm CFLAGS: -I${SRCDIR}/libs/linux/arm/include
// #cgo linux,riscv64 CFLAGS: -I${SRCDIR}/libs/linux/riscv64/include
// #cgo windows,amd64 CFLAGS: -I${SRCDIR}/libs/windows/amd64/include
// #include <stdint.h>
// #include "sodium.h"
Expand Down
Binary file not shown.
2 changes: 2 additions & 0 deletions scripts/archtype.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ elif [[ "${ARCH}" = "armv7l" ]]; then
echo "arm"
elif [[ "${ARCH}" = "aarch64" ]] || [[ "${ARCH}" = "arm64" ]]; then
echo "arm64"
elif [[ "${ARCH}" = "riscv64" ]]; then
echo "riscv64"
else
# Anything else needs to be specifically added...
echo "unsupported"
Expand Down
Loading