/* * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STANDALONE_CRYPTO_SERVICE_CONTEXT_H #define STANDALONE_CRYPTO_SERVICE_CONTEXT_H #include #include #include #include #include class crypto_service_context : public standalone_service_context { public: crypto_service_context(const char *sn, unsigned int encoding); virtual ~crypto_service_context(); private: void do_init(); void do_deinit(); unsigned int m_encoding; struct crypto_provider *m_crypto_provider; struct secure_storage_client m_storage_client; struct null_store m_null_store; struct service_context *m_storage_service_context; struct rpc_caller_session *m_storage_session; }; #endif /* STANDALONE_CRYPTO_SERVICE_CONTEXT_H */