lib: wrap crypt API to hide errno usage
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: NSteffen Jaeckel <jaeckel-floss@eyet-services.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
Showing
想要评论请 注册 或 登录