review: fix compile error

Fixes compile error for CFG_CRYPTO_{MD5,SHA{1,224,256,384,512}}=n

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>