Re: [PATCH v4 2/8] lib: wrap crypt API to hide errno usage

2021-07-07 Thread Heiko Schocher
Hello Steffen, On 08.07.21 01:09, Steffen Jaeckel wrote: > In order to prevent using the global errno, replace it with a static > version and create a wrapper function which returns the error value. > > Signed-off-by: Steffen Jaeckel > Reviewed-by: Simon Glass > --- > > (no changes since v1) >

[PATCH v4 2/8] lib: wrap crypt API to hide errno usage

2021-07-07 Thread Steffen Jaeckel
In order to prevent using the global errno, replace it with a static version and create a wrapper function which returns the error value. Signed-off-by: Steffen Jaeckel Reviewed-by: Simon Glass --- (no changes since v1) include/crypt.h | 3 ++- lib/crypt/alg-sha256.h | 6 --