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:
@@ -595,6 +595,12 @@ U_BOOT_CRYPTO_ALGO(rsa2048) = {
|
||||
.verify = rsa_verify,
|
||||
};
|
||||
|
||||
U_BOOT_CRYPTO_ALGO(rsa3072) = {
|
||||
.name = "rsa3072",
|
||||
.key_len = RSA3072_BYTES,
|
||||
.verify = rsa_verify,
|
||||
};
|
||||
|
||||
U_BOOT_CRYPTO_ALGO(rsa4096) = {
|
||||
.name = "rsa4096",
|
||||
.key_len = RSA4096_BYTES,
|
||||
|
||||
Reference in New Issue
Block a user