Lines Matching refs:arc4
38 * Use Linux kernel 2.6 arc4 and sha1 routines rather than
97 struct crypto_blkcipher *arc4;
164 struct blkcipher_desc desc = { .tfm = state->arc4 };
168 crypto_blkcipher_setkey(state->arc4, state->sha1_digest,
187 crypto_blkcipher_setkey(state->arc4, state->session_key, state->keylen);
207 state->arc4 = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC);
208 if (IS_ERR(state->arc4)) {
209 state->arc4 = NULL;
245 if (state->arc4)
246 crypto_free_blkcipher(state->arc4);
263 if (state->arc4)
264 crypto_free_blkcipher(state->arc4);
371 struct blkcipher_desc desc = { .tfm = state->arc4 };
480 struct blkcipher_desc desc = { .tfm = state->arc4 };
707 * Prior to allowing load, try to load the arc4 and sha1 crypto
715 if (!(crypto_has_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC) &&