linux kernel crypto api
play

Linux Kernel Crypto API Herbert Xu Red Hat Inc. Current State - PowerPoint PPT Presentation

Linux Kernel Crypto API Herbert Xu Red Hat Inc. Current State Async + sync cipher interface. Async + sync hash interface. AEAD interface. Compress-as-you-go interface. RNG interface. Current State A handful of async PCI


  1. Linux Kernel Crypto API Herbert Xu Red Hat Inc.

  2. Current State ● Async + sync cipher interface. ● Async + sync hash interface. ● AEAD interface. ● Compress-as-you-go interface. ● RNG interface.

  3. Current State ● A handful of async PCI drivers. ● Support for on-chip acceleration. ● AEAD algorithms: CCM/GCM. ● Disk encryption algorithms. ● Mandatory self-test.

  4. Generic Algorithms ● DMA offload similar to crypto offload. ● Reduce impact on generic code (e.g., TCP). ● New algorithms: – memcpy: Similar to ciphers. – xor: Binary operation.

  5. User-space API ● Why: – Hardware management. – Certification. ● How: – Type-agnostic. – IOV-based interface.

  6. Misc ● New algorithms: – Hashes. – Stream ciphers. ● User-space control interface.

  7. Questions

Recommend


More recommend