diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2020-04-22 17:38:58 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-14 07:25:57 +0000 |
commit | 69a887265d737c628a3c55a03b923917cf1b471e (patch) | |
tree | f962af23da7cfdfb8695eca5731c59708bacec9d /chip/g/usb_spi.h | |
parent | 8d785e9597c9db3444c01d15dff732bef85fad5a (diff) | |
download | chrome-ec-69a887265d737c628a3c55a03b923917cf1b471e.tar.gz |
crypto_api: use const void
This is a minor API clean up, it is not entirely clear why const void
pointers were not used originally, but using this type for input data
(and void pointer for output) makes interfacing with the library much
easier.
Also modified cases where the first parameter of DCRYPTO_SHA1_hash()
was typecasted unnecessarily.
BUG=none
TEST=make buildall succeeds, Cr50 image supports booting a Chrome OS
device just fine.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Change-Id: Ic8a670aa7b26598ea323182845c184b7f1d715a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2163568
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'chip/g/usb_spi.h')
0 files changed, 0 insertions, 0 deletions