mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
rsa: adds rsa3072 algorithm
Add to support rsa 3072 bits algorithm in tools for image sign at host side and adds rsa 3072 bits verification in the image binary. Add test case in vboot for sha384 with rsa3072 algorithm testing. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -55,6 +55,13 @@ struct crypto_algo crypto_algos[] = {
|
||||
.add_verify_data = rsa_add_verify_data,
|
||||
.verify = rsa_verify,
|
||||
},
|
||||
{
|
||||
.name = "rsa3072",
|
||||
.key_len = RSA3072_BYTES,
|
||||
.sign = rsa_sign,
|
||||
.add_verify_data = rsa_add_verify_data,
|
||||
.verify = rsa_verify,
|
||||
},
|
||||
{
|
||||
.name = "rsa4096",
|
||||
.key_len = RSA4096_BYTES,
|
||||
|
Reference in New Issue
Block a user