]> git.proxmox.com Git - efi-boot-shim.git/blame - Cryptlib/InternalCryptLib.h
Import upstream version 0.9+1474479173.6c180c6
[efi-boot-shim.git] / Cryptlib / InternalCryptLib.h
CommitLineData
3e575651
SL
1/** @file \r
2 Internal include file for BaseCryptLib.\r
3\r
62f0afa2 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
18#include <Library/BaseLib.h>\r
19#include <Library/BaseMemoryLib.h>\r
20#include <Library/MemoryAllocationLib.h>\r
21#include <Library/DebugLib.h>\r
22#include <Library/BaseCryptLib.h>\r
23\r
72bb39c0
SL
24#include "OpenSslSupport.h"\r
25\r
62f0afa2
MTL
26#include <openssl/opensslv.h>\r
27\r
28#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
29#define OBJ_get0_data(o) ((o)->data)\r
30#define OBJ_length(o) ((o)->length)\r
3e575651
SL
31#endif\r
32\r
3e575651
SL
33#endif\r
34\r