mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-30 18:53:08 +01:00
This commit makes all symbols that are not part of the API Interface, or used only in the object files where they are defined, static. Causing the following benefits: - The compiler can resolve functions for better performance - The library size is decreased NOTE: Spec file generators need to be adjusted for newer spec's to not do the same mistakes again Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
30 lines
723 B
C
30 lines
723 B
C
/*
|
|
* Copyright (C) 2020 iopsys Software Solutions AB
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 2.1
|
|
* as published by the Free Software Foundation
|
|
*
|
|
* Author: Omar Kallel <omar.kallel@pivasoftware.com>
|
|
*/
|
|
|
|
#ifndef __SECURITY_H
|
|
#define __SECURITY_H
|
|
|
|
#include <libbbf_api/dmcommon.h>
|
|
#ifdef LOPENSSL
|
|
#include <openssl/x509.h>
|
|
#include <openssl/x509v3.h>
|
|
#include <openssl/pem.h>
|
|
#include <openssl/obj_mac.h>
|
|
#elif LMBEDTLS
|
|
#include <mbedtls/x509.h>
|
|
#include <mbedtls/x509_crt.h>
|
|
#endif
|
|
|
|
extern DMOBJ tSecurityObj[];
|
|
extern DMLEAF tSecurityParams[];
|
|
extern DMLEAF tSecurityCertificateParams[];
|
|
|
|
#endif //__SECURITY_H
|
|
|