uefi.protocols.hash2

Based on Protocol/Hash2.h, original notice:

EFI_HASH2_SERVICE_BINDING_PROTOCOL as defined in UEFI 2.5. EFI_HASH2_PROTOCOL as defined in UEFI 2.5. The EFI Hash2 Service Binding Protocol is used to locate hashing services support provided by a driver and to create and destroy instances of the EFI Hash2 Protocol so that a multiple drivers can use the underlying hashing services. EFI_HASH2_PROTOCOL describes hashing functions for which the algorithm-required message padding and finalization are performed by the supporting driver.

Copyright (c) 2015, Intel Corporation. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Members

Aliases

EFI_HASH2_GET_HASH_SIZE
alias EFI_HASH2_GET_HASH_SIZE = EFI_STATUS function(const EFI_HASH2_PROTOCOL* This, const EFI_GUID* HashAlgorithm, UINTN* HashSize) @(nogc) nothrow

Returns the size of the hash which results from a specific algorithm.

EFI_HASH2_HASH
alias EFI_HASH2_HASH = EFI_STATUS function(const EFI_HASH2_PROTOCOL* This, const EFI_GUID* HashAlgorithm, const UINT8* Message, UINTN MessageSize, EFI_HASH2_OUTPUT* Hash) @(nogc) nothrow

Creates a hash for the specified message text. The hash is not extendable. The output is final with any algorithm-required padding added by the function.

EFI_HASH2_HASH_FINAL
alias EFI_HASH2_HASH_FINAL = EFI_STATUS function(const EFI_HASH2_PROTOCOL* This, EFI_HASH2_OUTPUT* Hash) @(nogc) nothrow

Finalizes a hash operation in progress and returns calculation result. The output is final with any necessary padding added by the function. The hash may not be further updated or extended after HashFinal().

EFI_HASH2_HASH_INIT
alias EFI_HASH2_HASH_INIT = EFI_STATUS function(const EFI_HASH2_PROTOCOL* This, const EFI_GUID* HashAlgorithm) @(nogc) nothrow

This function must be called to initialize a digest calculation to be subsequently performed using the EFI_HASH2_PROTOCOL functions HashUpdate() and HashFinal().

EFI_HASH2_HASH_UPDATE
alias EFI_HASH2_HASH_UPDATE = EFI_STATUS function(const EFI_HASH2_PROTOCOL* This, const UINT8* Message, UINTN MessageSize) @(nogc) nothrow

Updates the hash of a computation in progress by adding a message text.

EFI_HASH2_PROTOCOL
alias EFI_HASH2_PROTOCOL = _EFI_HASH2_PROTOCOL
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_MD5_HASH2
alias EFI_MD5_HASH2 = UINT8[16]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_SHA1_HASH2
alias EFI_SHA1_HASH2 = UINT8[20]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_SHA224_HASH2
alias EFI_SHA224_HASH2 = UINT8[28]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_SHA256_HASH2
alias EFI_SHA256_HASH2 = UINT8[32]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_SHA384_HASH2
alias EFI_SHA384_HASH2 = UINT8[48]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_SHA512_HASH2
alias EFI_SHA512_HASH2 = UINT8[64]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

_EFI_HASH2_PROTOCOL
struct _EFI_HASH2_PROTOCOL

This protocol describes hashing functions for which the algorithm-required message padding and finalization are performed by the supporting driver.

Unions

EFI_HASH2_OUTPUT
union EFI_HASH2_OUTPUT
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

EFI_HASH2_PROTOCOL_GUID
enum EFI_GUID EFI_HASH2_PROTOCOL_GUID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
EFI_HASH2_SERVICE_BINDING_PROTOCOL_GUID
enum EFI_GUID EFI_HASH2_SERVICE_BINDING_PROTOCOL_GUID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta