TianoCore EDK2 master
Loading...
Searching...
No Matches
InternalCryptLib.h
Go to the documentation of this file.
1
9#ifndef __INTERNAL_CRYPT_LIB_H__
10#define __INTERNAL_CRYPT_LIB_H__
11
12#undef _WIN32
13#undef _WIN64
14
15#include <Library/BaseLib.h>
18#include <Library/DebugLib.h>
20
21#include "CrtLibSupport.h"
22
23#define OPENSSL_NO_DEPRECATED 0
24
25#include <openssl/opensslv.h>
26
27#if OPENSSL_VERSION_NUMBER < 0x10100000L
28#define OBJ_get0_data(o) ((o)->data)
29#define OBJ_length(o) ((o)->length)
30#endif
31
55BOOLEAN
57 IN CONST UINT8 *P7Data,
58 IN UINTN P7Length,
59 OUT BOOLEAN *WrapFlag,
60 OUT UINT8 **WrapData,
61 OUT UINTN *WrapDataSize
62 );
63
64#endif
UINT64 UINTN
BOOLEAN WrapPkcs7Data(IN CONST UINT8 *P7Data, IN UINTN P7Length, OUT BOOLEAN *WrapFlag, OUT UINT8 **WrapData, OUT UINTN *WrapDataSize)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284