Re: [PATCH] Check curve_name for null to avoid crash

2024-03-07 Thread Tom Rini
On Tue, Feb 27, 2024 at 03:57:03PM -0800, Bob Wolff wrote: > If mixed rsa and ecdsa keys are specified in dtsi, an rsa key can be sent > into the ecdsa verify. Without the ecdsa,curve property, this function will > crash due to lack of checking the null pointer return. > > Signed-off-by: Bob Wolf

Re: [PATCH] Check curve_name for null to avoid crash

2024-03-06 Thread Bob Wolff
Hey all, I think I addressed the nit of the missing blank line in my last email on this thread. Wondering if there's more action to be had on my part or if this just gets accepted etc. Thanks! Bob Wolff On Tue, Feb 27, 2024 at 3:57 PM Bob Wolff wrote: > If mixed rsa and ecdsa keys are specified

[PATCH] Check curve_name for null to avoid crash

2024-02-27 Thread Bob Wolff
If mixed rsa and ecdsa keys are specified in dtsi, an rsa key can be sent into the ecdsa verify. Without the ecdsa,curve property, this function will crash due to lack of checking the null pointer return. Signed-off-by: Bob Wolff --- lib/ecdsa/ecdsa-verify.c | 5 + 1 file changed, 5 inserti

Re: [PATCH] Check curve_name for null to avoid crash

2024-02-22 Thread Sean Anderson
On 2/22/24 17:18, Bob Wolff wrote: If mixed rsa and ecdsa keys are specified in dtsi, an rsa key can be sent into the ecdsa verify. Without the ecdsa,curve property, this function will crash due to lack of checking the null pointer return. nit: there should be a blank line here Signed-off-by:

[PATCH] Check curve_name for null to avoid crash

2024-02-22 Thread Bob Wolff
If mixed rsa and ecdsa keys are specified in dtsi, an rsa key can be sent into the ecdsa verify. Without the ecdsa,curve property, this function will crash due to lack of checking the null pointer return. Signed-off-by: Bob Wolff --- lib/ecdsa/ecdsa-verify.c | 5 + 1 file changed, 5 insertio