commit | 3ebd200bd6206bdd3419b86b944c2d53d07b5bbf | [log] [tgz] |
---|---|---|
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | Fri Feb 19 12:45:12 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 14 15:06:08 2021 -0400 |
tree | e8e4fe47b24fe1c25fb3dffb79d25276864dd4a9 | |
parent | 32abcbd01aa9a0f3f34b6e144793e7f01f28b22d [diff] |
lib: Add support for ECDSA image signing mkimage supports rsa2048, and rsa4096 signatures. With newer silicon now supporting hardware-accelerated ECDSA, it makes sense to expand signing support to elliptic curves. Implement host-side ECDSA signing and verification with libcrypto. Device-side implementation of signature verification is beyond the scope of this patch. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>