/*
* Load a digest from the specified parameters with the specified context.
- * The params "properties", "engine" and "digest" are used to determine the
+ * The params "propq", "engine" and "digest" are used to determine the
* implementation used. If a provider cannot be found, it falls back to trying
* non-provider based implementations.
*/
-int ossl_prov_digest_load_from_params(PROV_DIGEST *pd,
- const OSSL_PARAM params[],
- OSSL_LIB_CTX *ctx);
int ossl_prov_digest_load(PROV_DIGEST *pd,const OSSL_PARAM *digest,
const OSSL_PARAM *propq, const OSSL_PARAM *engine,
OSSL_LIB_CTX *ctx);
return pd->md != NULL;
}
-int ossl_prov_digest_load_from_params(PROV_DIGEST *pd,
- const OSSL_PARAM params[],
- OSSL_LIB_CTX *ctx)
-{
- return ossl_prov_digest_load(pd,
- OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_DIGEST),
- OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_PROPERTIES),
- OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE),
- ctx);
-}
-
void ossl_prov_digest_set_md(PROV_DIGEST *pd, EVP_MD *md)
{
ossl_prov_digest_reset(pd);