blob: 80d1777c2a40b4fc89e0cb5919681e7ddb1d373c [file] [log] [blame]
Julian Hall8cff2b82020-11-23 18:12:17 +01001/*
2 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <service_locator.h>
8#include <service/locator/standalone/services/crypto/crypto_service_context.h>
9#include "standalone_location_strategy.h"
10#include "standalone_service_registry.h"
11
12void service_locator_envinit(void)
13{
14 static crypto_service_context crypto_context("sn:trustedfirmware.org:crypto:0");
15 standalone_service_registry::instance()->regsiter_service_instance(&crypto_context);
16 service_locator_register_strategy(standalone_location_strategy());
17}