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

2021-07-23 Thread Tom Rini
On Thu, Jul 08, 2021 at 03:57:34PM +0200, 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 > Reviewed-by: Heiko Schoc

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

2021-07-08 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 Reviewed-by: Heiko Schocher --- Changes in v5: Take review comments into account include/crypt.h