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

linux kernel crypto api
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Linux Kernel Crypto API

Herbert Xu Red Hat Inc.

slide-2
SLIDE 2

Current State

  • Async + sync cipher interface.
  • Async + sync hash interface.
  • AEAD interface.
  • Compress-as-you-go interface.
  • RNG interface.
slide-3
SLIDE 3

Current State

  • A handful of async PCI drivers.
  • Support for on-chip acceleration.
  • AEAD algorithms: CCM/GCM.
  • Disk encryption algorithms.
  • Mandatory self-test.
slide-4
SLIDE 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.

slide-5
SLIDE 5

User-space API

  • Why:

– Hardware management. – Certification.

  • How:

– Type-agnostic. – IOV-based interface.

slide-6
SLIDE 6

Misc

  • New algorithms:

– Hashes. – Stream ciphers.

  • User-space control interface.
slide-7
SLIDE 7

Questions