pub fn digest_ring_add_txout(n: u8, tx_out: &ReducedTxOut) -> [u8; 32]