Trf_XorBuffer(3)

✨ NAME ✨

okay bestie, welcome to the Trf_XorBuffer(3) page from the Library Functions Manual πŸ’–

Trf_XorBuffer β€” XOR the bytes in a buffer with a mask. That's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

       #include <transform.h>

       void Trf_XorBuffer
       (
            void *buffer,
            void *mask,
            int length
       );

πŸŽ€ PARAMETERS πŸŽ€

  • void *buffer β€” the buffer that's getting XORed with the mask.
  • void *mask β€” the mask bytes that get XORed into the buffer.
  • int length β€” the length of the mask and the buffer, in byte.

πŸ¦‹ DESCRIPTION πŸ¦‹

This one is internally used by the implementation of the various stream modes available to blockciphers. So it's a behind-the-scenes helper, bestie β€” not the headline act, but absolutely holding it down. ✨


πŸ”— SEE ALSO πŸ”—


mwah πŸ’‹ this page came from c2man transform.h, dated 27 August 2002 πŸŽ€βœ¨