~/talk

Using OP-TEE as a Cryptography Engine

links:none on file
slides:none on file

Shows how to turn OP-TEE into a real crypto engine by implementing a hardware RNG (three API hooks including crypto_rng_read), registering accelerators with drivecrypt_register, and exposing ops to Linux via the TEE client and kernel crypto registration. Builds a TA that uses transient and persistent objects, supports atomic replace (overwrite) to avoid corruption, and a userland wrapper or kernel provider for apps. Warns against custom OpenSSL engines and recommends AF_ALG or PKCS#11 (Linaro pkcs11ta/libcktc pending) and notes Microsoft’s TPM2.0 firmware for OP-TEE.

AI-written summary · about

  1. 0:00Intro
  2. 0:45The Internet of Things is Here
  3. 1:37How Do We Store Things Securely?
  4. 2:14SoC Security Features
  5. 3:48What is OP-TEE?
  6. 6:31Outline
  7. 6:41OP-TEE New Platform Bring-up
  8. 7:49Background
  9. 8:42RNG Driver Plan
  10. 8:59Crypto RNG API
  11. 10:28Basic Driver Implementation
  12. 11:37Configuration
  13. 12:26HW Crypto Accelerators
  14. 14:27crypto hash.ops
  15. 15:33Peek into alloc
  16. 16:03What is drvcrypt?
  17. 17:08drvcrypt flow
  18. 18:32Initialization and Registration
  19. 19:53HW Alloc Implementation
  20. 20:19HW Context Struct
  21. 22:24Accessing OP-TEE From Linux
  22. 24:24Trusted Application
  23. 25:31What is a TEE Operation?
  24. 26:13What are TEE Objects?
  25. 28:43Minimal TA Interface II
  26. 29:46Minimal AES code
  27. 30:09Minimal Example Caveats
  28. 31:09Building a Secure Storage System
  29. 32:00Storage Application Flow
  30. 34:54Slot Ops
  31. 35:04Opening a Slot
  32. 38:02Remaining TA Pieces
  33. 40:40Linux Userspace Access Library
  34. 41:27Linux kernel Integration
  35. 43:04struct cipher alg
  36. 44:11OpenSSL Integration
  37. 45:49PKCS#11
  38. 48:44Summary
~/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.