Re: Asynchronous usage of PCOMPRESS

2014-11-11 Thread Herbert Xu
On Mon, Nov 10, 2014 at 12:16:51PM -0600, Tom Lendacky wrote: > Hi Herbert, > > Is the PCOMPRESS algorithm supposed to support asynchronous > implementations? In other words, are callers expected to handle the > -EINPROGRESS or -EAGAIN return codes that can be returned by an > asynchronous impleme

Asynchronous usage of PCOMPRESS

2014-11-10 Thread Tom Lendacky
Hi Herbert, Is the PCOMPRESS algorithm supposed to support asynchronous implementations? In other words, are callers expected to handle the -EINPROGRESS or -EAGAIN return codes that can be returned by an asynchronous implementation? Or is it assumed that if the CRYPTO_ALG_ASYNC flag is not set t