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
> >
> &
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
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
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
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
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
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
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
.) and have all params for the
curve inside strut ecc_curve, remembering that we have anothers curves
incoming, like Edwards.
regards,
--
Email: Saulo Alessandre
From: Saulo Alessandre
* crypto/ecc.c
- ecc_get_curve - modified to recognize NIST_P384 and NISTP521;
- vli_rshift - created for use on vli_mmod_fast_521 for ecdsa;
- vli_mod_add - exported for use on ecdsa.c;
- vli_mmod_fast_384 - implements fast elliptic curve nist p384 [4
From: Saulo Alessandre
* Documentation/admin-guide/module-signing.rst
- Documents how to generate certificate and signature for (ECDSA).
* crypto/Kconfig
- ECDSA added into kernel Public-key cryptography section.
* crypto/Makefile
- add ECDSA objects and asn1 params to compile
From: Saulo Alessandre
* crypto/ecc_curve_defs.h
- nist_p384_(x,y,p,n,z,b) and nist_p384 added curve params added;
- nist_p521_(x,y,p,n,z,b) and nist_p521 added curve params added;
* include/crypto/ecdh.h
- ECC_CURVE_NIST_P384, ECC_CURVE_NIST_P521 - added new curves
* lib/oid_registry.c
From: Saulo Alessandre
* crypto/asymmetric_keys/pkcs7_parser.c
- pkcs7_sig_note_pkey_algo - changed to recognize
OID_id_ecdsa_with_sha(1,256,384,512).
* crypto/asymmetric_keys/pkcs7_verify.c
- pkcs7_digest - added warning when the summary has an unsupported algorithm,
to avoid let others
From: Saulo Alessandre
Why ECDSA on kernel:
I work on Brazilian Supreme Electoral Court [http://www.tse.jus.br], we are
using ECDSA for module and elf32 binaries verification including shared
libraries on about 450k T-DRE voting machines [5].
This is the first part of our try to contribution
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
15 matches
Mail list logo