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