Chapter 2. Kernel Crypto API Architecture

Table of Contents

Cipher algorithm types
Ciphers And Templates
Synchronous And Asynchronous Operation
Crypto API Cipher References And Priority
Key Sizes
Cipher Allocation Type And Masks
Internal Structure of Kernel Crypto API
Generic AEAD Cipher Structure
Generic Block Cipher Structure
Generic Keyed Message Digest Structure

Cipher algorithm types

The kernel crypto API provides different API calls for the following cipher types:

  • Symmetric ciphers

  • AEAD ciphers

  • Message digest, including keyed message digest

  • Random number generation

  • User space interface