~/talk

HasTEE: Programming Trusted Execution Environments with Haskell

Talkat Haskell 2023 · 2023-09-08..09-09· [security, functional-programming]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

A Haskell DSL called HasTEE embeds enclave, app and client monads, provides a GHC runtime port for Intel SGX and partitions a single Haskell program by compiling it twice with a flag that substitutes dummy implementations, using the type system to get automatic partitioning via types and a Gateway API that enforces information-flow constraints (binary instance + restricted IO). Implementation uses the Gramine library OS and patched mmap/select; measured resident enclave memory stays under 93 MB and observed latency is about 60 ms latency vs 6 ms native on the password-wallet benchmark; demos include federated learning with a simple homomorphic linear-regression library, an encrypted password wallet, and a differential-privacy clean room.

AI-written summary · about

  1. 0:00HasTEE and Haskell TEE intro
  2. 1:46Trusted Execution Environments needed
  3. 3:12TEE programming challenges
  4. 5:00HasTEE domain-specific language
  5. 6:03Password checker demo
  6. 7:51HasTEE program partitioning
  7. 9:17Compiling HasTEE for enclaves
  8. 10:00Enclave code binary analysis
  9. 11:02Information flow control in HasTEE
  10. 13:30Runtime dependencies and hosting
  11. 15:56Enclave execution performance
  12. 17:43Zero-trust federated learning
  13. 19:31Password wallet and privacy examples
  14. 20:12Future work and Cherry integration
  15. 21:34Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.