Re: algif for compression?

2017-04-03 Thread abed mohammad kamaluddin
Hi Stephen, > If you follow the AF_ALG implementations that are currently in the kernel, a > calling application receives two file descriptors. The first file descriptor > is the reference to a tfm, the second is the reference to a particular > request. > > Wouldn't those file descriptors be the

Re: algif for compression?

2017-04-03 Thread Stephan Müller
Am Montag, 3. April 2017, 08:10:19 CEST schrieb abed mohammad kamaluddin: Hi abed, > Hi Herbert, > > We have implemented algif acomp interface for user space applications > to utilize the kernel compression framework and the hardware drivers > using it and have been testing it using userspace

Re: algif for compression?

2017-04-03 Thread abed mohammad kamaluddin
Hi Herbert, We have implemented algif acomp interface for user space applications to utilize the kernel compression framework and the hardware drivers using it and have been testing it using userspace zlib library. However, what we find lacking in the existing acomp implementation is the ability

Re: algif for compression?

2016-12-21 Thread Herbert Xu
On Fri, Dec 16, 2016 at 07:41:23PM +0530, abed mohammad kamaluddin wrote: > > Thanks Herbert. Are there timelines or ongoing efforts for moving > IPcomp/Ipsec to use acomp? Or any proposals that have been or need to > be taken up in this regard. Someone needs to write the patches :) -- Email:

Re: algif for compression?

2016-12-16 Thread abed mohammad kamaluddin
> > The compression interface is currently in a state of flux. We > should make it settle down first before exporting it to user-space. > > For a start it would be good to actually switch IPsec/IPcomp over > to the new compression interface. Thanks Herbert. Are there timelines or ongoing

Re: algif for compression?

2016-12-10 Thread Herbert Xu
abed mohammad kamaluddin wrote: > > We are also looking for user-space access to the kernel crypto layer > compression algorithms. I have gone through AF_ALG but couldn’t find > support for compression ops through it. This is required for our > hardware zip engines whose

Re: algif for compression?

2014-04-03 Thread Herbert Xu
Dan Streetman ddstr...@ieee.org wrote: I see the algif_hash and algif_blkcipher implementations to allow userspace AF_ALG socket access to kernel blkcipher and hash algorithms, but has anyone done a algif_compression to allow userspace access to compression algs? I'm asking specifically wrt

Re: algif for compression?

2014-04-03 Thread Dan Streetman
On Thu, Apr 3, 2014 at 8:41 AM, Herbert Xu herb...@gondor.apana.org.au wrote: Dan Streetman ddstr...@ieee.org wrote: I see the algif_hash and algif_blkcipher implementations to allow userspace AF_ALG socket access to kernel blkcipher and hash algorithms, but has anyone done a algif_compression

algif for compression?

2014-03-14 Thread Dan Streetman
I see the algif_hash and algif_blkcipher implementations to allow userspace AF_ALG socket access to kernel blkcipher and hash algorithms, but has anyone done a algif_compression to allow userspace access to compression algs? I'm asking specifically wrt the 842 crypto module, which uses the