Lijian Zhang | 97c9f5e | 2023-11-01 07:17:31 +0000 | [diff] [blame] | 1 | /* 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 | |
| 8 | typedef 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 | |
| 12 | typedef struct |
| 13 | { |
Lijian Zhang | 97c9f5e | 2023-11-01 07:17:31 +0000 | [diff] [blame] | 14 | crypto_openssl_ctx_fn_t *ctx_fn[VNET_CRYPTO_N_ALGS]; |
| 15 | } crypto_openssl_main_t; |
| 16 | |
| 17 | extern crypto_openssl_main_t crypto_openssl_main; |
| 18 | |
| 19 | #endif /* __crypto_openssl_h__ */ |