Kostya Shishkov <[email protected]> writes:

>> > +/**
>> > + * @brief Encrypts using the Blowfish algorithm.
>> > + *
>> > + * @param bf an AVBlowfish context
>> > + * @param xl left eight bytes halves of input to be encrypted
>> > + * @param xr right eight bytes halves of input to be encrypted
>> > + */
>> > +void av_blowfish_encrypt(struct AVBlowfish *bf, uint32_t *xl, uint32_t 
>> > *xr);
>> 
>> Eight bytes where?  uint32_t is four bytes.  Whatever this is trying to
>> say, it is confusing.
>
> This function encrypts block of eight bytes passed as two 32-bit integers.

That's a weird interface.  Why not pass a pointer to uint8_t?

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to