From: Zhaoxiu Zeng
Signed-off-by: Zhaoxiu Zeng
---
drivers/crypto/qat/qat_common/qat_hal.c | 32 ++--
1 file changed, 10 insertions(+), 22 deletions(-)
diff --git a/drivers/crypto/qat/qat_common/qat_hal.c
b/drivers/crypto/qat/qat_common/qat_hal.c
index 1e480f1..318
Colin King wrote:
> From: Colin Ian King
>
> The OID_sha224 case is missing a break and it falls through
> to the -ENOPKG error default. Since HASH_ALGO_SHA224 seems
> to be supported, this looks like an unintentional missing break.
>
> Fixes: 07f081fb5057 ("PKCS#7: Add OIDs for sha224, sha28
Dedicated to RSA (hardware) implementations that want to use
raw integers instead of MPI keys.
Signed-off-by: Tudor Ambarus
---
crypto/rsa.c | 15
crypto/rsa_helper.c | 182 ++
include/crypto/internal/rsa.h | 28 +++
3
Use common ASN.1 sequences for all RSA implementations.
Give hardware RSA implementations the chance to use
the RSA's software implementation parser even if they
are likely to want to use raw integers.
The parser expects a context that contains at the first address
a pointer to a struct rsa_asn1_
v2 patch set can be found here:
http://www.mail-archive.com/linux-crypto%40vger.kernel.org/msg18269.html
Changes to v2 patch set:
- "crypto: add CONFIG_ symbol for rsa helper"
- removed. The drivers will select the CRYPTO_RSA symbol instead.
Tudor Ambarus (3):
crypto: rsa - generaliz
This patch adds the function scatterwalk_sg_copychunks which writes
a chunk of data from a scatterwalk to another scatterwalk.
It will be used by caam driver to remove the leading zeros of RSA's
algorithm output.
Signed-off-by: Tudor Ambarus
---
crypto/scatterwalk.c | 26
Export rsapubkey_decoder and rsaprivkey_decoder structures,
since they can (will) be used by caam and qat drivers.
Signed-off-by: Tudor Ambarus
---
crypto/rsa_helper.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/crypto/rsa_helper.c b/crypto/rsa_helper.c
index df1f480..d81a0ec 100644
-
Add RSA support to caam driver.
Coauthored-by: Yashpal Dutta
Signed-off-by: Tudor Ambarus
---
drivers/crypto/caam/Kconfig| 12 +
drivers/crypto/caam/Makefile | 4 +
drivers/crypto/caam/caampkc.c | 509 +
drivers/crypto/caam/caampkc.h | 84 +++
Depends on [PATCH v3 0/3] crypto: rsa - generalize ASN.1 sequences
v2 patch set can be found here:
http://www.mail-archive.com/linux-crypto%40vger.kernel.org/msg18273.html
Changes to v2 patch set:
- "crypto: caam - add support for RSA algorithm"
- update Kconfig so that it selects CRYP
Used in caam driver. Export the symbol since the caam driver
can be built as a module.
Signed-off-by: Tudor Ambarus
---
crypto/scatterwalk.c | 5 +++--
include/crypto/scatterwalk.h | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/crypto/scatterwalk.c b/crypto/scatte
Hi Herbert,
On 04/05/2016 04:29 AM, Herbert Xu wrote:
> On Sat, Mar 05, 2016 at 05:20:44PM -0800, Tadeusz Struk wrote:
>> > Hi,
>> > The following series adds TLS type authentication. To do this a new
>> > template, encauth, is introduced. It is derived from the existing authenc
>> > template and m
VFs call adf_dev_stop() from a PF to VF interrupt bottom half.
This causes an oops "scheduling while atomic", because it tries
to acquire a mutex to un-register crypto algorithms.
This patch fixes the issue by calling adf_dev_stop() asynchronously.
Changes in v2:
- change kthread to a work queue.
The output buffer length has to be at least as big as the key_size.
It is then updated to the actual output size by the implementation.
Cc:
Signed-off-by: Tadeusz Struk
---
crypto/rsa-pkcs1pad.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/crypto/rsa-pkcs1pad
13 matches
Mail list logo