[PATCH v7 4/7] crypto: add ecc curve and expose them

2021-02-03 Thread Saulo Alessandre
.) and have all params for the curve inside strut ecc_curve, remembering that we have anothers curves incoming, like Edwards. regards, -- Email: Saulo Alessandre

[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

[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

[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

[PATCH v2 3/3] adds nist_p384 register and unregister to support nist_p384 and tests

2021-02-22 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) Signed-off-by: Saulo

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

2021-02-22 Thread Saulo Alessandre
From: Saulo Alessandre * crypto/asymmetric_keys/x509_cert_parser.c - prepare x509 parser to load nist_secp384r1 * 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

[PATCH v2 2/3] adds math to support nist_p384 fast and changes routines to pass forward ecc_curve

2021-02-22 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 Signed-off-by: Saulo Alessandre --- crypto/ecc.c | 265

[PATCH] implements ecdsa 256, 384 and 521 alghorithm in akcipher model; change pcks7 and x509 to load certificates with ecdsa; increment testmgr to test ecdsa algo and finally allows signature and ver

2020-11-25 Thread Saulo Alessandre
From: Saulo Alessandre Signed-off-by: Saulo Alessandre --- Documentation/admin-guide/module-signing.rst | 10 + crypto/Kconfig | 12 + crypto/Makefile | 7 + crypto/asymmetric_keys/pkcs7_parser.c| 7 +- crypto

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

2021-02-24 Thread Saulo Alessandre de Lima
Em seg., 22 de fev. de 2021 às 17:26, Stefan Berger escreveu: > > On 2/22/21 12:58 PM, Saulo Alessandre wrote: > > From: Saulo Alessandre > > > > * crypto/asymmetric_keys/x509_cert_parser.c > >- prepare x509 parser to load nist_secp384r1 > > > &