[patch] Add encryption key parameter to compress/decompress functions

Artem Bityutskiy dedekind1 at gmail.com
Fri Mar 9 02:17:56 EST 2012


On Thu, 2012-02-23 at 16:29 +0100, Joel Reardon wrote:
> This patch extends to interface for compression and decompression of data 
> nodes to take a cryptographic key
> as a parameter. If it is set to NULL, then the current behaviour persists. 
> If it is non-null, then it is taken
> as a pointer to an array of length UBIFSEC_KEYSIZE (=16 bytes) which 
> contains the key to use to encrypt
> the data node. Each data node should be encrypted with a separate key as 
> it uses the same initialization vector  (of 0).

This patch is also wrapped... Would you consider using git - commit your
patches, then git format-patch, then git send-email them - git tools
will take everything right. Use --dry-run with git send-email first to
check everything is right.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list