1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * 4 * This software may be distributed under the terms of the BSD license. 5 * See README for more details. 6 */ 7 8 #ifndef WPA_EVP_KEY_H 9 #define WPA_EVP_KEY_H 10 11 #include <openssl/evp.h> 12 #include "cert_manager_api.h" 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 #define DEFAULT_SIGNATURE_LEN 1024 19 20 EVP_PKEY *GET_EVP_PKEY(const char *key_id); 21 BIO *BIO_from_cm(const char *key_id, struct Credential certificate); 22 23 24 #ifdef __cplusplus 25 } 26 #endif 27 #endif // WPA_EVP_KEY_H 28