-----BEGIN PGP SIGNED MESSAGE-----
Sean Egan wrote:
> On 4/1/07, Nathan Peterson <gaim-devel@...> wrote:
>> I implemented RC4 as a registered cipher in cipher.c. It seems to work
>> great. I will probably submit a patch soon after some more testing.
> Awesome. I look forward to seeing it.
>> I have one question though. Why is there a get_key_size operation defined
>> in the _GaimCipherOps struct? None of the ciphers use it, and there is
>> no corresponding set_key_size operation. I have decided to use the
>> set_option and get_option operations for setting and reading the key
>> size instead of messing with the get_key_size operation. I believe this
>> is the correct thing to do, but I wanted to check first as to what the
>> intention of the get_key_size operation is.
I see a set_key op right above get_key_size which iirc was meant that
for the cipher to determine. Although that was a while ago, and I think
it was meant for encryption and since most, if not all, of our cipher
implementations are hashing algorithms, that'd make sense. Aside from
that, no clue :)
Gary Kramlich <grim@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----