Skip to content
Commit c6e7e9be authored by Antonio de Angelis's avatar Antonio de Angelis Committed by Fabio Utzig
Browse files

imgtool: Improve ECDSA key generation



This patch improves the existing ECDSA key generation feature
in the imgtool by:
 - Fix a bug in the 'minimal' representation of PKCS#8 keys where
   the resulting ASN.1 DER encoding is not compliant
 - Add the option to export ECDSA private keys in SEC1 format by
   providing a command line option -f or --format that can be
   'openssl' (for SEC1 format) or 'pkcs8'. This format ends up in
   key encodings which are generally smaller than PKCS#8.

Signed-off-by: default avatarAntonio de Angelis <Antonio.deAngelis@arm.com>
parent 284b8fe3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment