# RV2GC: Reconstructing the Garbling Boundary in a RISC-V Garbled Processor

DevFeed: [RV2GC: Reconstructing the Garbling Boundary in a RISC-V Garbled Processor](<https://devfeed.tech/articles/rv2gc-reconstructing-the-garbling-boundary-in-a-risc-v-garbled-processor-109076.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39572>)

Author: Zixiao Feng, Xiaolin Li, Chenglu Jin, Wei Yan, Yong Zhang, Hongwei Liu, Yong Liu, Qinfen Hao

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [RISC-V](<https://devfeed.tech/topics/riscv.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [memory](<https://devfeed.tech/tags/memory.md>), [processor](<https://devfeed.tech/tags/processor.md>), [risc-v](<https://devfeed.tech/tags/risc-v.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [schedule](<https://devfeed.tech/tags/schedule.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [size](<https://devfeed.tech/tags/size.md>), [state](<https://devfeed.tech/tags/state.md>)

## AI overview

RV2GC places the garbling boundary around a fixed library of RISC-V instruction circuits: public scheduling and operand routing sit outside the circuits, while persistent label-encoded state connects invoked circuits and instruction-specific garbling-free paths. A Conditional-execution Stack and protected commits enable secret-dependent branches, bounded loops, and secret-indexed memory under public scheduling, keeping instruction and memory-address sequences independent of private inputs. Across nine benchmarks, ARM2GC-to-RV2GC runtime ratios range from 12.81 to 4,043. The largest listed instruction circuit has 3,386 gates, or 2.044% and 0.393% of the 256-byte and 4,096-byte Amber processors, respectively. The abstract also reports comparisons of schedule storage, communication, and secret-dependent execution costs.

## Source excerpt

arXiv:2610.39572v1 Announce Type: new Abstract: Programmable garbled-circuit execution must balance the benefits of cross-program reuse against the cost of repeated work during secure execution. A complete garbled processor provides a fixed circuit for many programs, but its evaluator repeatedly visits processor-wide structures even when only a small part performs the current protected computation. We present RV2GC, which reconstructs the garbling boundary around a fixed library of RISC-V instruction circuits. Public scheduling and operand routing operate outside the circuit topologies; persistent label-encoded state connects independently invoked garbled instruction circuits and instruction-specific garbling-free paths through a common interface. A Conditional-execution Stack and protected commits support secret-dependent branches, bounded loops, and secret-indexed memory access under public scheduling, keeping instruction and memory-address sequences independent of private inputs. Across nine benchmarks, measured ARM2GC-to-RV2GC runtime ratios range from 12.81 to 4,043. In terms of circuit size, the largest listed instruction circuit has 3,386 gates, corresponding to 2.044% and 0.393% of the 256-byte and 4,096-byte Amber processors, respectively. Additional comparisons quantify schedule storage, communication, and the cost of secret-dependent execution.