EFI_HASH2_HASH_INIT

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

@paramin This Points to this instance of EFI_HASH2_PROTOCOL. @paramin HashAlgorithm Points to the EFI_GUID which identifies the algorithm to use.

@retval EFI_SUCCESS Initialized successfully. @retval EFI_INVALID_PARAMETER This 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 Process failed due to lack of required resource. @retval EFI_ALREADY_STARTED This function is called when the operation in progress is still in processing Hash(), or HashInit() is already called before and not terminated by HashFinal() yet on the same instance.

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

Meta