pub fn circuit(input: &str) -> Result<Circuit, Err<Error<&str>>>
crates/seec/examples/aes_cbc.rs (
line 434)
431
432
433
434
435
436
437
438
439
static AES_CIRC: Lazy<SharedCircuit<bool, BooleanGate, usize>> = Lazy::new(|| {
let aes_circ_str = include_str!("../test_resources/bristol-circuits/aes_128.bristol");
BaseCircuit::from_bristol(
seec::bristol::circuit(aes_circ_str).expect("parsing AES circuit failed"),
Load::SubCircuit,
)
.expect("converting AES circuit failed")
.into_shared()
});