[PATCH] hwrng: omap - Fix included header from 'asm'

2021-02-19 Thread Tian Tao
This commit fixes the checkpatch warning: WARNING: Use #include instead of drivers/char/hw_random/omap-rng.c:34 Signed-off-by: Tian Tao --- drivers/char/hw_random/omap-rng.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/

[PATCH 1/3] add params and ids to support nist_p384

2021-02-19 Thread Saulo Alessandre
From: Saulo Alessandre * crypto/asymmetric_keys/x509_cert_parser.c - prepare x509 parser to load nist_secpp384r1 * crypto/ecc_curve_defs.h - add nist_p384 params * include/crypto/ecdh.h - add ECC_CURVE_NIST_P384 * include/linux/oid_registry.h - reorder OID_id_ecdsa_with_sha1 - add OI

[PATCH 2/3] add mathematic to support fast nist_p384 and change routines to pass forward ecc_curve

2021-02-19 Thread Saulo Alessandre
From: Saulo Alessandre * crypto/ecc.c - change ecc_get_curve to accept nist_p384 - add vli_mmod_fast_384 - change some routines to pass ecc_curve forward until vli_mmod_fast * crypto/ecc.h - add ECC_CURVE_NIST_P384_DIGITS - change ECC_MAX_DIGITS to P384 size --- crypto/ecc.c | 282 +++

[PATCH 3/3] add nist_p384 register and unregister to support nist_p384

2021-02-19 Thread Saulo Alessandre
From: Saulo Alessandre * crypto/ecdsa.c - add ecdsa_nist_p384_init_tfm - register and unregister p384 tfm * crypto/testmgr.c - add test vector for p384 on vector of tests * crypto/testmgr.h - add test vector params for p384(sha1, sha224, sha256, sha384 and sha512) --- crypto/asymmetric

[PATCH 1/3] add params and ids to support nist_p384

2021-02-19 Thread Saulo Alessandre
From: Saulo Alessandre * crypto/asymmetric_keys/x509_cert_parser.c - prepare x509 parser to load nist_secpp384r1 * crypto/ecc_curve_defs.h - add nist_p384 params * include/crypto/ecdh.h - add ECC_CURVE_NIST_P384 * include/linux/oid_registry.h - reorder OID_id_ecdsa_with_sha1 - add OI

Re: [PATCH 3/3] add nist_p384 register and unregister to support nist_p384

2021-02-19 Thread Stefan Berger
On 2/19/21 1:57 PM, Saulo Alessandre wrote: From: Saulo Alessandre * crypto/ecdsa.c - add ecdsa_nist_p384_init_tfm - register and unregister p384 tfm * crypto/testmgr.c - add test vector for p384 on vector of tests * crypto/testmgr.h - add test vector params for p384(sha1, sha224,

Re: [PATCH 2/3] add mathematic to support fast nist_p384 and change routines to pass forward ecc_curve

2021-02-19 Thread Stefan Berger
On 2/19/21 1:57 PM, Saulo Alessandre wrote: From: Saulo Alessandre * crypto/ecc.c - change ecc_get_curve to accept nist_p384 - add vli_mmod_fast_384 - change some routines to pass ecc_curve forward until vli_mmod_fast * crypto/ecc.h - add ECC_CURVE_NIST_P384_DIGITS - change ECC_

Re: [PATCH 1/3] add params and ids to support nist_p384

2021-02-19 Thread Stefan Berger
On 2/19/21 1:57 PM, Saulo Alessandre wrote: From: Saulo Alessandre * crypto/asymmetric_keys/x509_cert_parser.c - prepare x509 parser to load nist_secpp384r1 * crypto/ecc_curve_defs.h - add nist_p384 params * include/crypto/ecdh.h - add ECC_CURVE_NIST_P384 * include/linux/oid_registr

Re: [PATCH 0/4] Fix the parameter of dma_map_sg()

2021-02-19 Thread chenxiang (M)
Ping... 在 2021/2/9 14:59, chenxiang 写道: From: Xiang Chen According to Documentation/core-api/dma-api-howto.rst, the parameters of dma_unmap_sg() must be the same as those which are passed in to the scatter/gather mapping API. But for some drivers under crypto, the parameter of dma_unmap_sg()

Re: [PATCH 0/4] Fix the parameter of dma_map_sg()

2021-02-19 Thread Herbert Xu
On Sat, Feb 20, 2021 at 09:51:17AM +0800, chenxiang (M) wrote: > Ping... Please be patient. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt