[PATCH 1/2 v2] lib/crypto: Enable more algorithms in cert verification