19#ifndef __BLOCK_IO_CRYPTO_H__
20#define __BLOCK_IO_CRYPTO_H__
24#define EFI_BLOCK_IO_CRYPTO_PROTOCOL_GUID \
26 0xa00490ba, 0x3f1a, 0x4b4c, {0xab, 0x90, 0x4f, 0xa9, 0x97, 0x26, 0xa1, 0xe8} \
75#define EFI_BLOCK_IO_CRYPTO_ALGO_GUID_AES_XTS \
77 0x2f87ba6a, 0x5c04, 0x4385, {0xa7, 0x80, 0xf3, 0xbf, 0x78, 0xa9, 0x7b, 0xec} \
88#define EFI_BLOCK_IO_CRYPTO_ALGO_GUID_AES_CBC_MICROSOFT_BITLOCKER \
90 0x689e4c62, 0x70bf, 0x4cf3, {0x88, 0xbb, 0x33, 0xb3, 0x18, 0x26, 0x86, 0x70} \
101#define EFI_BLOCK_IO_CRYPTO_INDEX_ANY 0xFFFFFFFFFFFFFFFF
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
#define OPTIONAL
Definition Base.h:358
EFI_GUID gEfiBlockIoCryptoAlgoAesCbcMsBitlockerGuid
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_WRITE_EXTENDED)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA LBA, IN OUT EFI_BLOCK_IO_CRYPTO_TOKEN *Token, IN UINT64 BufferSize, IN VOID *Buffer, IN UINT64 *Index OPTIONAL, IN VOID *CryptoIvInput OPTIONAL)
Definition BlockIoCrypto.h:462
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_GET_CAPABILITIES)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, OUT EFI_BLOCK_IO_CRYPTO_CAPABILITIES *Capabilities)
Definition BlockIoCrypto.h:221
EFI_GUID gEfiBlockIoCryptoProtocolGuid
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_RESET)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
Definition BlockIoCrypto.h:188
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_READ_EXTENDED)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA LBA, IN OUT EFI_BLOCK_IO_CRYPTO_TOKEN *Token, IN UINT64 BufferSize, OUT VOID *Buffer, IN UINT64 *Index OPTIONAL, IN VOID *CryptoIvInput OPTIONAL)
Definition BlockIoCrypto.h:396
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_SET_CONFIGURATION)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, IN UINT64 ConfigurationCount, IN EFI_BLOCK_IO_CRYPTO_CONFIGURATION_TABLE_ENTRY *ConfigurationTable, OUT EFI_BLOCK_IO_CRYPTO_RESPONSE_CONFIGURATION_ENTRY *ResultingTable OPTIONAL)
Definition BlockIoCrypto.h:290
EFI_GUID gEfiBlockIoCryptoAlgoAesXtsGuid
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_GET_CONFIGURATION)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, IN UINT64 StartIndex, IN UINT64 ConfigurationCount, IN EFI_GUID *KeyOwnerGuid OPTIONAL, OUT EFI_BLOCK_IO_CRYPTO_RESPONSE_CONFIGURATION_ENTRY *ConfigurationTable)
Definition BlockIoCrypto.h:331
EFI_STATUS(EFIAPI * EFI_BLOCK_IO_CRYPTO_FLUSH)(IN EFI_BLOCK_IO_CRYPTO_PROTOCOL *This, IN OUT EFI_BLOCK_IO_CRYPTO_TOKEN *Token)
Definition BlockIoCrypto.h:507
UINT64 EFI_LBA
Definition UefiBaseType.h:49
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
#define VOID
Definition acefi.h:190
unsigned char BOOLEAN
Definition actypes.h:235
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition BlockIoCrypto.h:103
UINT64 KeyCount
Definition BlockIoCrypto.h:111
BOOLEAN Supported
Definition BlockIoCrypto.h:107
UINT64 CapabilityCount
Definition BlockIoCrypto.h:115
Definition BlockIoCrypto.h:48
UINT64 KeySize
Definition BlockIoCrypto.h:56
UINT64 CryptoBlockSizeBitMask
Definition BlockIoCrypto.h:61
EFI_GUID Algorithm
Definition BlockIoCrypto.h:52
Definition BlockIoCrypto.h:122
UINT64 Index
Definition BlockIoCrypto.h:127
VOID * CryptoKey
Definition BlockIoCrypto.h:142
EFI_GUID KeyOwnerGuid
Definition BlockIoCrypto.h:132
EFI_BLOCK_IO_CRYPTO_CAPABILITY Capability
Definition BlockIoCrypto.h:137
Definition BlockIoCrypto.h:145
EFI_GUID KeyOwnerGuid
Definition BlockIoCrypto.h:153
EFI_BLOCK_IO_CRYPTO_CAPABILITY Capability
Definition BlockIoCrypto.h:158
UINT64 Index
Definition BlockIoCrypto.h:149
Definition BlockIoCrypto.h:34
EFI_STATUS TransactionStatus
Definition BlockIoCrypto.h:45
EFI_EVENT Event
Definition BlockIoCrypto.h:41
Definition BlockIoCrypto.h:516
EFI_BLOCK_IO_CRYPTO_FLUSH FlushBlocks
Definition BlockIoCrypto.h:524
EFI_BLOCK_IO_CRYPTO_GET_CONFIGURATION GetConfiguration
Definition BlockIoCrypto.h:521
EFI_BLOCK_IO_CRYPTO_RESET Reset
Definition BlockIoCrypto.h:518
EFI_BLOCK_IO_CRYPTO_READ_EXTENDED ReadExtended
Definition BlockIoCrypto.h:522
EFI_BLOCK_IO_CRYPTO_GET_CAPABILITIES GetCapabilities
Definition BlockIoCrypto.h:519
EFI_BLOCK_IO_CRYPTO_SET_CONFIGURATION SetConfiguration
Definition BlockIoCrypto.h:520
EFI_BLOCK_IO_CRYPTO_WRITE_EXTENDED WriteExtended
Definition BlockIoCrypto.h:523
EFI_BLOCK_IO_MEDIA * Media
Definition BlockIoCrypto.h:517