03-80 Samee Zahur - Revisiting Square Root ORAM_Efficient

RevisitingSquareRootORAM
EfficientRandomAccessinMulti-PartyComputation
SameeZahur
JackDoerner
DavidEvans
XiaoWang
JonathanKatz
MarianaRaykova
oblivc.org/sqoram
Adrià Gascón
Securemulti-partycomputationapplications
Setintersection
[FNP04]
Iriscodematching
[LCPLB12]
Matrixfactorizationfor
recommendations
[NIWJTB13]
Mediancomputation
[AMP04]
Linearridge-regression
[NWIJBT13]
RandomAccess
Hidingaccesspattern
Linearscan
ObliviousRAM
Accesseveryelement
Continuallyshuffleelementsaround
Per-accesscost:ฮ˜ ๐‘›
Per-accesscost:ฮ˜(log ' ๐‘›)
Linearscan
Figurefrom:Wang,Chan,Shi.CircuitOram.CCSโ€™15
(our work)
6
Approach:revisitoldschemes
Classicโ€œsquarerootโ€schemeby
Goldreich andOstrovsky (1996).
ConsideredslowforMPCbecause
ofper-accesshashevaluation.
Per-accessamortizedcost:ฮ˜
๐‘› log ๐‘›
Four-elementORAM
LargerSizes
4-BlockORAM
Cost:5๐ต +๐ต +2๐ต +3๐ต
+โ€ฆ
=11๐ต every3accesses
Comparison
Linearscan
Cost:4๐ต =12๐ต/3
Ourscheme
Cost:11๐ต/3
Four-elementORAM
LargerSizes
Positionmap
0
1
2
3
0
1
2
3
3
0
2
1
1
3
0
2
Creatingpositionmap
Creatingpositionmap
Inversepermutation
๐‘
๐œ‹C โ‹… ๐‘
๐œ‹C
๐œ‹F = ๐œ‹C โ‹… ๐‘
Inversepermutation
๐œ‹C
๐œ‹F
๐œ‹F = ๐œ‹C โ‹… ๐‘
๐œ‹C
๐œ‹FLM โ‹… ๐œ‹C
๐‘LM โ‹… ๐œ‹CLM โ‹…
LM
=
=๐‘
๐œ‹C
Bobcomputes
๐œ‹FLM = ๐‘LM โ‹… ๐œ‹CLM
Rinseandrepeat
1. Shuffleelements
2. Recreatepositionmap
3. Service๐‘‡ =
๐‘› log ๐‘›accesses
Accesstime
Initializationcost
Benchmarks
Linearscan
Circuit
ORAM
Square-root
ORAM
Task
Parameters
Binarysearch
210 searches
215 elements
1020s
5041s
825s
Breadth-first
search
210 vertices
213 edges
4570s
3750s
680s
Stablematching
29 pairs
scrypt hashing
N =214
โ‰ˆ7days
189000s
2850s
119000s
1920s
Conclusion
Werevisitedawell-knownschemeanduseditto
โ€ข Lowerinitializationcost
โ€ข Improvebreakevenpoint
Showsthatasymptoticcostsarenotthefinalword,concretecosts
requiremoreconsideration.
Download
oblivc.org/sqoram
Contactforhelp:
SameeZahur <[email protected]>