Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  • Eric Biggers's avatar
    crypto: remove CONFIG_CRYPTO_STATS · 29ce50e0
    Eric Biggers authored
    Remove support for the "Crypto usage statistics" feature
    (CONFIG_CRYPTO_STATS).  This feature does not appear to have ever been
    used, and it is harmful because it significantly reduces performance and
    is a large maintenance burden.
    
    Covering each of these points in detail:
    
    1. Feature is not being used
    
    Since these generic crypto statistics are only readable using netlink,
    it's fairly straightforward to look for programs that use them.  I'm
    unable to find any evidence that any such programs exist.  For example,
    Debian Code Search returns no hits except the kernel header and kernel
    code itself and translations of the kernel header:
    https://codesearch.debian.net/search?q=CRYPTOCFGA_STAT&literal=1&perpkg=1
    
    The patch series that added this feature in 2018
    (https://lore.kernel.org/linux-crypto/1537351855-16618-1-git-send-email-clabbe@baylibre.com/)
    said "The goal is to have an ifconfig for crypto device."  This doesn't
    appear to have happened.
    
    It's not clear that there is r...
    29ce50e0