hx509_crypto_select
ret = hx509_crypto_select(context, HX509_SELECT_DIGEST,
ret = hx509_crypto_select(context, HX509_SELECT_PUBLIC_SIG,
hx509_crypto_select (
ret = hx509_crypto_select(context, type, NULL, peer, &selected);