Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rw0x0 committed Jan 14, 2025
1 parent 59c04f0 commit 835f73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iris-mpc-gpu/src/threshold_ring/cuda/kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ split_for_arithmetic_xor(U32 *x1_a, U32 *x1_b, U32 *x2_a, U32 *x2_b, U32 *x3_a,
if (i < 64 * n) {
size_t wordindex = i / 64;
size_t bitindex = i % 64;
U32 my_bit_a = (in_a[wordindex] >> bitindex) & 1;
U32 my_bit_b = (in_b[wordindex] >> bitindex) & 1;
U32 my_bit_a = (U32)((in_a[wordindex] >> bitindex) & 1);
U32 my_bit_b = (U32)((in_b[wordindex] >> bitindex) & 1);
split_for_arithmetic_xor_inner(&x1_a[i], &x1_b[i], &x2_a[i], &x2_b[i],
&x3_a[i], &x3_b[i], my_bit_a, my_bit_b, id);
}
Expand Down

0 comments on commit 835f73d

Please sign in to comment.