Skip to content
Snippets Groups Projects
Commit 32ad12b4 authored by Lionel Debieve's avatar Lionel Debieve Committed by Sebastien PASDELOUP
Browse files

fix(stm32mp1): fix missing padding to verify signature


ECDSA signatures can not guarantee the exact 32 bits that must
be given to the hardware. We must check the ASN1 sequence and
adapt the R,S tuple to manage a proper 2 * 32 bytes whatever
the certificate content.

Signed-off-by: default avatarLionel Debieve <lionel.debieve@foss.st.com>
Change-Id: I456c32aa1d081562c2787866894f3be3b6f8cb9d
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/252923


Reviewed-by: default avatarCITOOLS <MDG-smet-aci-reviews@list.st.com>
parent d0b16fe1
No related branches found
No related tags found
1 merge request!2Integrate changes of v2.4-stm32mp-r2.1 version from ST
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment