Lines Matching defs:arc4
37 * Use Linux kernel 2.6 arc4 and sha1 routines rather than
45 #include <crypto/arc4.h>
92 struct arc4_ctx arc4;
153 arc4_setkey(&state->arc4, state->sha1_digest, state->keylen);
154 arc4_crypt(&state->arc4, state->session_key, state->sha1_digest,
165 arc4_setkey(&state->arc4, state->session_key, state->keylen);
392 arc4_crypt(&state->arc4, obuf, ibuf, isize);
566 arc4_crypt(&state->arc4, obuf, ibuf, 1);
581 arc4_crypt(&state->arc4, obuf + 1, ibuf + 1, isize - 1);
655 * Prior to allowing load, try to load the arc4 and sha1 crypto