Announcement

Collapse
No announcement yet.

Linux Kernels Can Now Be Compressed With LZ4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by LightBit View Post
    Compression algorithms can't use Crypto API.
    Why has the crypto/ directory in the Linux source then files like compress.c, deflate.c, lz4.c, lz4hc.c, lzo.c, zlib.c?

    Comment


    • #22
      Originally posted by AnonymousCoward View Post
      Why has the crypto/ directory in the Linux source then files like compress.c, deflate.c, lz4.c, lz4hc.c, lzo.c, zlib.c?
      It sets cra_flags to CRYPTO_ALG_TYPE_COMPRESS.
      Because Linux's Crypto API isn't really just Crypto API.

      I have no idea why mix cryptografy with compression.

      Comment

      Working...
      X