[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5C418659.30904@hisilicon.com>
Date: Fri, 18 Jan 2019 15:55:05 +0800
From: Zhou Wang <wangzhou1@...ilicon.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: <linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
<linux-crypto@...r.kernel.org>,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH 3/4] crypto: hisilicon: Add HiSilicon ZIP accelerator
support
On 2019/1/18 12:55, Herbert Xu wrote:
> On Wed, Jan 16, 2019 at 10:12:47PM +0800, Zhou Wang wrote:
>>
>> A stupid question: how do we test scomp alg?
>>
>> It seems we can not use general comp API, e.g. crypto_alloc_comp
>> to do this.
>>
>> Could you give me any clue about this?
>
> scomp algorithms are allocated through crypto_alloc_acomp.
A little strange, but let me try firstly.
However, another question is that seems other subsystems in kernel,
e.g. zswap still use crypto_alloc_comp. So we'd better register this
ZIP engine using both cryto_alloc_comp and scomp/acomp interface to
make it compatible with other subsystems?
Best,
Zhou
>
> Thanks,
>
Powered by blists - more mailing lists