[PATCH 1/3] lib: rsa: Fix const-correctness of rsassa_pss functions

Simon Glass sjg at chromium.org
Sat Mar 12 03:43:52 CET 2022


On Wed, 9 Mar 2022 at 02:28, SESA644425 <giojahermann at gmail.com> wrote:
>
> Prior to introduction of modifications in rsassa_pss functions
> related to padding verification, doing a pass to update
> const-correctness in targeted functions to comply with
> coding-rules and avoid const-cast
>
> Signed-off-by: SESA644425 <gioja.hermann at non.se.com>

Please use your real name.

> ---
> Despite checkpath.pl recommendation, it is not possible to use u8 instead
> of uint8_t. Proceeding with u8 breaks build with error: unknown type name u8
>  include/image.h      |  2 +-
>  include/u-boot/rsa.h |  4 ++--
>  lib/rsa/rsa-verify.c | 14 +++++++-------
>  3 files changed, 10 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list