blob: cff9820fe99f196f0b79ecfef888fa214874eaa4 [file] [log] [blame]
Lijian Zhang97c9f5e2023-11-01 07:17:31 +00001/* SPDX-License-Identifier: Apache-2.0
2 * Copyright (c) 2023 ARM Ltd and/or its affiliates.
3 */
4
5#ifndef __crypto_openssl_h__
6#define __crypto_openssl_h__
7
8typedef void *(crypto_openssl_ctx_fn_t) (vnet_crypto_key_t *key,
9 vnet_crypto_key_op_t kop,
10 vnet_crypto_key_index_t idx);
11
12typedef struct
13{
Lijian Zhang97c9f5e2023-11-01 07:17:31 +000014 crypto_openssl_ctx_fn_t *ctx_fn[VNET_CRYPTO_N_ALGS];
15} crypto_openssl_main_t;
16
17extern crypto_openssl_main_t crypto_openssl_main;
18
19#endif /* __crypto_openssl_h__ */