Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • include
  • uapi
  • linux
  • nsm.h
Find file BlameHistoryPermalink
  • Alexander Graf's avatar
    misc: Add Nitro Secure Module driver · b9873755
    Alexander Graf authored Oct 11, 2023
    
    
    When running Linux inside a Nitro Enclave, the hypervisor provides a
    special virtio device called "Nitro Security Module" (NSM). This device
    has 3 main functions:
    
      1) Provide attestation reports
      2) Modify PCR state
      3) Provide entropy
    
    This patch adds a driver for NSM that exposes a /dev/nsm device node which
    user space can issue an ioctl on this device with raw NSM CBOR formatted
    commands to request attestation documents, influence PCR states, read
    entropy and enumerate status of the device. In addition, the driver
    implements a hwrng backend.
    
    Originally-by: default avatarPetre Eftime <petre.eftime@gmail.com>
    Signed-off-by: default avatarAlexander Graf <graf@amazon.com>
    Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
    Link: https://lore.kernel.org/r/20231011213522.51781-1-graf@amazon.com
    
    
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    b9873755
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7