Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

Tom Lendacky
2014-11-03T16:08:09Z

On 11/03/2014 08:49 AM, Herbert Xu wrote:
> On Mon, Nov 03, 2014 at 03:18:29PM +0100, Stephan Mueller wrote:
>>
>>>> + * CRYPTO_ALG_TYPE_DIGEST Raw message digest
>>>> + * CRYPTO_ALG_TYPE_HASH Alias for CRYPTO_ALG_TYPE_DIGEST
>>>> + * CRYPTO_ALG_TYPE_SHASH Synchronous multi-block hash
>>>> + * CRYPTO_ALG_TYPE_AHASH Asynchronous multi-block hash
>>>> + * CRYPTO_ALG_TYPE_RNG Random Number Generation
>>>> + * CRYPTO_ALG_TYPE_PCOMPRESS
>>>
>>> What's that last one?
>>
>> Same here.
>
> pcompress is an enhanced version of compress allowing for piece-meal
> compression/decompression rather than having to shove everything in
> all at once.
>
> Eventually pcompress should replace the compress interface once
> everything is converted across.

Herbert, I was looking at adding async support for ALG_TYPE_COMPRESS
since the CCP device will support compression/decompression but only
as an everything at once invocation. Given what you're saying about
pcompress replacing compress, would this be something you'd even
consider though?

Thanks,
Tom

>
> Thanks,
>