]> git.proxmox.com Git - efi-boot-shim.git/blame - Cryptlib/InternalCryptLib.h
New upstream version 15.3
[efi-boot-shim.git] / Cryptlib / InternalCryptLib.h
CommitLineData
031e5cce 1/** @file \r
3e575651
SL
2 Internal include file for BaseCryptLib.\r
3\r
031e5cce 4Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
3e575651
SL
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __INTERNAL_CRYPT_LIB_H__\r
16#define __INTERNAL_CRYPT_LIB_H__\r
17\r
031e5cce 18#include <stdarg.h>\r
3e575651 19\r
031e5cce
SM
20#include "Library/BaseLib.h"\r
21#include "Library/BaseMemoryLib.h"\r
22#include "Library/MemoryAllocationLib.h"\r
23#include "Library/DebugLib.h"\r
24#include "Library/BaseCryptLib.h"\r
7bf7a6d0 25\r
031e5cce 26#include "OpenSslSupport.h"\r
72bb39c0 27\r
62f0afa2
MTL
28#include <openssl/opensslv.h>\r
29\r
30#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
31#define OBJ_get0_data(o) ((o)->data)\r
32#define OBJ_length(o) ((o)->length)\r
3e575651
SL
33#endif\r
34\r
3e575651 35#endif\r
031e5cce 36\r