VirtualBox

Ignore:
Timestamp:
Jul 13, 2022 12:51:28 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/ldr: Changed RTLdrHashImage to return the hash rather than the digest string. bugref:8691

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/ldr.h

    r94869 r95612  
    518518     * @param   pMod            The module handle.
    519519     * @param   enmDigest       Which kind of digest.
    520      * @param   pszDigest       Where to store the image digest.
    521      * @param   cbDigest        Size of the buffer @a pszDigest points at.
    522      */
    523     DECLCALLBACKMEMBER(int, pfnHashImage,(PRTLDRMODINTERNAL pMod, RTDIGESTTYPE enmDigest, char *pszDigest, size_t cbDigest));
     520     * @param   pabHash         Where to store the image hash.
     521     * @param   cbHash          Size of the buffer @a pabHash points at.  This has
     522     *                          been validated to be at least the required size.
     523     */
     524    DECLCALLBACKMEMBER(int, pfnHashImage,(PRTLDRMODINTERNAL pMod, RTDIGESTTYPE enmDigest, uint8_t *pabHash, size_t cbHash));
    524525
    525526        /**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette