[PATCH 6.18 398/430] crypto: caam - Add check for kcalloc() in test_len()