Support openssl optimized 32bit RC4 key packing
authorSimo Sorce <simo@redhat.com>
Thu, 19 Mar 2015 22:42:13 +0000 (18:42 -0400)
committerSimo Sorce <simo@redhat.com>
Thu, 19 Mar 2015 23:18:27 +0000 (19:18 -0400)
commit4844f1e77523664298e601df3a0fb33e5cb28e31
treebc969f13429be7b55bc04342483f023de35a7d22
parentd3e922fab076fbaee8630c61eb2cb033c3561049
Support openssl optimized 32bit RC4 key packing

Openssl detects at runtime the CPU type and on some 32 bit CPUs will
automatically switch to a compressed schedule for the RC4_KEY.
Don't try to be too smart nd just copy all the data even if it takes
4 times the space.

The code still assumes sizeof(RC4_INT) == sizeof(uint32_t)
src/crypto.c
src/gss_serialize.c