arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/revote-lifecycle.svg
v3-pq/figures/revote-lifecycle.svgRaw
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1923px" height="723px" viewBox="0 0 1923 723"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="863" y="563" width="695" height="138" fill="#ffffde" stroke="#aaaa33" pointer-events="all" style="fill: light-dark(rgb(255, 255, 222), rgb(31, 32, 32)); stroke: light-dark(rgb(170, 170, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 693px; height: 1px; padding-top: 570px; margin-left: 864px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">checked in the voter's ballot STARK</div></div></div></foreignObject></switch></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="898" y="608" width="285" height="73" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 283px; height: 1px; padding-top: 645px; margin-left: 899px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">knows opening of prev package<br />(same slot, same sk)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="1233" y="618" width="290" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 288px; height: 1px; padding-top: 645px; margin-left: 1234px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">NULL = PRF(sk, prevPkgDigest)</div></div></div></foreignObject></switch></g></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="1032" y="316" width="357" height="286" fill="#ffffde" stroke="#aaaa33" pointer-events="all" style="fill: light-dark(rgb(255, 255, 222), rgb(31, 32, 32)); stroke: light-dark(rgb(170, 170, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 355px; height: 1px; padding-top: 323px; margin-left: 1033px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">checked by the batch program</div></div></div></foreignObject></switch></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="1076" y="400" width="269" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 267px; height: 1px; padding-top: 447px; margin-left: 1077px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">prev admitted:<br />voteID → pkgDigest inclusion<br />proof under current root</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="1095" y="361" width="231" height="73" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 229px; height: 1px; padding-top: 398px; margin-left: 1096px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">NULL not in nullifier tree<br />→ insert (once ever)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="1067" y="484" width="287" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 285px; height: 1px; padding-top: 531px; margin-left: 1068px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">empty slot → first package only;<br />occupied slot → must consume<br />exactly one predecessor</div></div></div></foreignObject></switch></g></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><rect x="10" y="349" width="195" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 193px; height: 1px; padding-top: 386px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">P0 — first package<br />prevPkgDigest = 0</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><rect x="401" y="410" width="241" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 239px; height: 1px; padding-top: 447px; margin-left: 402px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">P1 — live package<br />references pkgDigest(P0)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><rect x="1114" y="10" width="193" height="54" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 191px; height: 1px; padding-top: 37px; margin-left: 1115px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">P2 — live package</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><rect x="415" y="287" width="213" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 211px; height: 1px; padding-top: 324px; margin-left: 416px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">P0 consumed (dead):<br />its E removed from A</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><rect x="1633" y="361" width="268" height="73" fill="#fff2cc" stroke="#d6b656" pointer-events="all" style="fill: light-dark(rgb(255, 242, 204), rgb(40, 29, 0)); stroke: light-dark(rgb(214, 182, 86), rgb(109, 81, 0));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 266px; height: 1px; padding-top: 398px; margin-left: 1634px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">nullifier tree (depth-256 SMT)<br />public, unlinkable keys</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><path d="M 205 416.16 Q 303 447 391.88 447.21" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 399.88 447.23 L 391.87 451.21 L 391.89 443.21 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 446px; margin-left: 300px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">revote consumes P0</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="15"><g transform="translate(0.5,0.5)"><path d="M 540.78 410 Q 740 37 789 37 Q 838 37 1104.88 37" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1112.88 37 L 1104.88 41 L 1104.88 33 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 59px; margin-left: 728px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">revote consumes P1</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="16"><g transform="translate(0.5,0.5)"><path d="M 205 354.11 Q 303 324 405.88 324.21" fill="none" stroke="#333333" stroke-miterlimit="10" stroke-dasharray="2 3" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 413.88 324.23 L 405.87 328.21 L 405.89 320.21 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 324px; margin-left: 307px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">after consumption</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="17"><g transform="translate(0.5,0.5)"><path d="M 564.88 483 Q 740 632 789 632 Q 838 632 863 632" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="18"><g transform="translate(0.5,0.5)"><path d="M 642 447.23 Q 642 447.23 1032 447.56" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="19"><g transform="translate(0.5,0.5)"><path d="M 1326 398.23 Q 1326 398.23 1623.88 398.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1631.88 398.23 L 1623.88 402.23 L 1623.88 394.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>