Method: Tem::Benchmarks#blank_seclosure

Defined in:
lib/tem/benchmarks/blank_sec.rb

#blank_seclosureObject

The SEClosure used in the blank benchmark.



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/tem/benchmarks/blank_sec.rb', line 17

def blank_seclosure
  @tem.assemble { |s|
    s.ldbc 0
    s.outnew
    s.halt
    s.label :secret
    s.zeros :tem_ubyte, 50
    s.label :plain
    s.zeros :tem_ubyte, 220
    s.stack 1
  }
end