EFI_HASH2_HASH

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.

@paramin This Points to this instance of EFI_HASH2_PROTOCOL. @paramin HashAlgorithm Points to the EFI_GUID which identifies the algorithm to use. @paramin Message Points to the start of the message. @paramin MessageSize The size of Message, in bytes. @param[in,out] Hash On input, points to a caller-allocated buffer of the size returned by GetHashSize() for the specified HashAlgorithm. On output, the buffer holds the resulting hash computed from the message.

@retval EFI_SUCCESS Hash returned successfully. @retval EFI_INVALID_PARAMETER This or Hash is NULL. @retval EFI_UNSUPPORTED The algorithm specified by HashAlgorithm is not supported by this driver or HashAlgorithm is Null. @retval EFI_OUT_OF_RESOURCES Some resource required by the function is not available or MessageSize is greater than platform maximum.

extern (C)
alias EFI_HASH2_HASH = EFI_STATUS function @nogc nothrow

Meta