[EXTERNAL] Re: [PATCH v2 6/6] test: dm: Add test for ECDSA UCLASS support
Alex G.
mr.nuke.me at gmail.com
Thu Apr 8 19:05:04 CEST 2021
On 4/8/21 11:56 AM, Tim Romanski wrote:
> Ok, will do. I'm writing the verification code, I noticed you're passing
> the public key into the fdt using fdt_add_bignum, which converts the x
> and y values into big endian integer arrays. Do you have a method to
> read these values from the fdt and convert them back into bignums, or is
> that TODO? I can get that done if it's not yet implemented.
Because u-boot proper doesn't use openssl, there hasn't been a need to
convert data into types such as BIGNUM* at runtime. You could check
BN_bin2bn() for inspiration.
Alex
> All the best,
>
> Tim
>
> On 2021-04-07 4:03 p.m., Alex G. wrote:
>> On 4/7/21 12:29 PM, Tim Romanski wrote:
>>
>>> Question for Alex, I see your repo has a few branches related to
>>> ECDSA (patch-ecdsa-v[1-5], patch-mkimage-keyfile-v{1,2}). You sent me
>>> a link to 'patch-ecdsa-v1' in a previous email, is that the one
>>> that's being upstreamed? Should I be working off a different branch
>>> or is that one ok?
>>
>> I'm up to v6 on the patch submission. The differences are not that
>> big, but I recommend sticking to the latest.
>>
>> Alex
More information about the U-Boot
mailing list