summaryrefslogtreecommitdiff
path: root/core/tee/tee_cryp_utl.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2017-11-10 08:38:05 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2017-11-14 13:48:32 +0100
commit3bbd3ce9058cb0f6c4e7d4725823a3e70029d049 (patch)
tree98cf104e57db5afac5f0f68e889bdf11994eb617 /core/tee/tee_cryp_utl.c
parent291e5450a1e9cf4e495d292f40a8ab9b901d9c78 (diff)
core: remove struct crypto_ops
Removes struct crypto_ops and adds crypto_init() Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/tee/tee_cryp_utl.c')
-rw-r--r--core/tee/tee_cryp_utl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/tee/tee_cryp_utl.c b/core/tee/tee_cryp_utl.c
index 9cc736c4..aff6f964 100644
--- a/core/tee/tee_cryp_utl.c
+++ b/core/tee/tee_cryp_utl.c
@@ -390,10 +390,7 @@ __weak void plat_prng_add_jitter_entropy_norpc(void)
static TEE_Result tee_cryp_init(void)
{
- if (crypto_ops.init)
- return crypto_ops.init();
-
- return TEE_SUCCESS;
+ return crypto_init();
}
service_init(tee_cryp_init);