lkml.org 
[lkml]   [2005]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] CryptoAPI & Compression
Hello,

Well, with Mark Adler's help I've realized that extending zlib isn't
than simple task.

Herbert Xu wrote:
> What I was suggesting is to invert the calculation that deflateBound
> is doing so that it gives a lower bound on the input buffer size
> that does not exceed a given output buffer size.
Actually, for JFFS2 we need to leave the uncompressable data
uncompressed. So if the pcompress interface have only been for JFFS2,
I'd just return an error rather then expand data. Is such behavior
acceptable for common Linux's parts pike CryptoAPI ?

And more, frankly, I don't like the "independent" partial compression
approach in JFFS2 and in JFFS3 (if it will ever happen) I'd make these
pieces dependent. For this purpose we'd need some deflate-like CryptoAPI
interface. I'm not going to implement it at the moment, I'm just curious
- what do you guys think about a generalized deflate-like CryptoAPI
compression interface?

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-18 17:14    [W:0.103 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site