Use common naming for internal API
Change-Id: Ie6dce91fca60d099249e32938b9ebc5dd8a1a6d2
Signed-off-by: Mateusz Kulikowski <m.kulikowski@samsung.com>
EVP_MD_CTX_destroy(c->mdctx);
}
-int get_digest_algorithm(yaca_digest_algo_e algo, const EVP_MD **md)
+int digest_get_algorithm(yaca_digest_algo_e algo, const EVP_MD **md)
{
int ret = 0;
nc->ctx.ctx_destroy = destroy_digest_context;
nc->ctx.get_output_length = get_digest_output_length;
- ret = get_digest_algorithm(algo, &nc->md);
+ ret = digest_get_algorithm(algo, &nc->md);
if (ret < 0)
goto free;
EVP_PKEY *evp;
};
-int get_digest_algorithm(yaca_digest_algo_e algo, const EVP_MD **md);
+int digest_get_algorithm(yaca_digest_algo_e algo, const EVP_MD **md);
struct yaca_key_simple_s *key_get_simple(const yaca_key_h key);
struct yaca_key_evp_s *key_get_evp(const yaca_key_h key);
iter == 0 || key_bits == 0 || key == NULL)
return YACA_ERROR_INVALID_ARGUMENT;
- ret = get_digest_algorithm(algo, &md);
+ ret = digest_get_algorithm(algo, &md);
if (ret < 0)
return ret;