]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h
CryptoPkg: Refine type cast for pointer subtraction
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / InternalCryptLib.h
... / ...
CommitLineData
1/** @file \r
2 Internal include file for BaseCryptLib.\r
3\r
4Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
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
24#include "OpenSslSupport.h"\r
25\r
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
31#endif\r
32\r
33#endif\r
34\r