Messages in this thread | | | Subject | Re: [PATCH v5 2/6] fpga: m10bmc-sec: create max10 bmc secure update driver | From | Tom Rix <> | Date | Wed, 18 Nov 2020 07:47:34 -0800 |
| |
>>> + return -EINVAL; >>> + } >>> + >>> + ret = regmap_bulk_read(sec->m10bmc->regmap, reh_addr, >>> + hash, sha_num_bytes / stride); >> Assumes !(sha_num_bytes % stride) > Yes - good point. I'll add WARN_ON() here and for the CSK cancellation vectors. > In these cases, the size values are fixed, so a WARN_ON should be sufficient.
Yes, thanks.
Tom
> Thanks, > - Russ >
| |