I think this comment would be clearer if it actually referred to the argument issues. How about something like:
'Wrapper for SHA1Update to translate arguments. We need this because the KSSL hash update function expects the size argument to be a uint32_t, but SHA1Update uses a size_t.'