Add support for the export and import functions used by hashing algorithms
by specifying the size of the data saved/restored. The size of the data is
provided during algorithm registration.
Also, modify the structures saved/restored in order to meet the size limit
of 512 bytes imposed by the the C
On Thu, 15 Oct 2015 21:13:38 +0800
Herbert Xu wrote:
> On Thu, Oct 15, 2015 at 01:59:44PM +0100, Russell King - ARM Linux wrote:
> >
> > I think the CAAM driver is pretty unfixable from a trivial point of
> > view. This driver exports a huge amount of state - it contains both a
> > struct caam_h
qat_crypto_get_instance_node function needs to handle situation when the
first dev in the list is not started.
Signed-off-by: Tadeusz Struk
---
drivers/crypto/qat/qat_common/qat_crypto.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/qa
On Wed, 2015-10-14 at 21:15 +0200, LABBE Corentin wrote:
> The sha x86 crypto code use two define for the same thing:
> NUM_SHA1_DIGEST_WORDS and SHA1_DIGEST_LENGTH
> Replace them by SHA1_DIGEST_SIZE/4
Thanks. Acked-by: Tim Chen
>
> Signed-off-by: LABBE Corentin
--
To unsubscribe from this l
Currently this driver calls pm_runtime_get_sync() rampantly
but never puts anything back. This makes it impossible for the
device to autosuspend properly; it will remain fully active
after the first use.
Fix in the obvious way.
Signed-off-by: Daniel Thompson
Cc: Kukjin Kim
Cc: Krzysztof Kozlows
On Fri, Oct 16, 2015 at 11:11:00PM +0800, Weigang Li wrote:
> This patch set introduces Asynchronous Compression API.
> What is proposed is a new crypto type called crypto_acomp_type,
> plus new struct acomp_alg and struct crypto_acomp, together with number
> of helper functions to register acomp
This patch set introduces Asynchronous Compression API.
What is proposed is a new crypto type called crypto_acomp_type,
plus new struct acomp_alg and struct crypto_acomp, together with number
of helper functions to register acomp type algorithms and allocate tfm
instances. This is to make it sim
On 15 October 2015 at 11:42, LABBE Corentin wrote:
> On Wed, Oct 14, 2015 at 06:08:02PM +0800, Herbert Xu wrote:
>> On Mon, Oct 12, 2015 at 06:53:39PM +0200, LABBE Corentin wrote:
>> > Some crypto drivers cannot process empty data message and return a
>> > precalculated hash for md5/sha1/sha224/sh