Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 9148749

Browse files
committed
Use correct out_size for out instead of total_signatures.
1 parent 363186c commit 9148749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cuda-ecc-ed25519/gpu_ctx.cu

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void setup_gpu_ctx(verify_ctx_t* cur_ctx,
103103
CUDA_CHK(cudaFree(cur_ctx->out));
104104
CUDA_CHK(cudaMalloc(&cur_ctx->out, out_size));
105105

106-
cur_ctx->out_size_bytes = total_signatures;
106+
cur_ctx->out_size_bytes = out_size;
107107
}
108108

109109
if (cur_ctx->public_key_offsets == NULL || cur_ctx->offsets_len < total_signatures) {

0 commit comments

Comments
 (0)