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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ jobs:
gh release upload ${{ github.event.release.tag_name }} rapidsnark-linux-arm64-${{ github.ref_name }}.zip

build-apple-arm64:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions build_gmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ build_macos_arch()
cd "$BUILD_DIR"
../configure --prefix="${PACKAGE_DIR}" \
CC="$(xcrun --sdk macosx --find clang)" \
CPP_FOR_BUILD="$(xcrun --sdk macosx --find clang) -E" \
CFLAGS="-O3 -isysroot $(xcrun --sdk macosx --show-sdk-path) ${ARCH_FLAGS} -fvisibility=hidden -mmacos-version-min=14.0" \
LDFLAGS="" \
--host "${ARCH}-apple-darwin" --disable-assembly --enable-static --disable-shared --with-pic &&
Expand Down
3 changes: 3 additions & 0 deletions src/prover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ groth16_prover_prove(
stringPublic.length(), public_size,
"Required");

*proof_size = stringProof.length();
*public_size = stringPublic.length();

std::strncpy(proof_buffer, stringProof.c_str(), *proof_size);
std::strncpy(public_buffer, stringPublic.c_str(), *public_size);

Expand Down
Loading