Lines Matching refs:sha1
38 * Use Linux kernel 2.6 arc4 and sha1 routines rather than
101 struct crypto_hash *sha1;
152 desc.tfm = state->sha1;
215 state->sha1 = crypto_alloc_hash("sha1", 0, CRYPTO_ALG_ASYNC);
216 if (IS_ERR(state->sha1)) {
217 state->sha1 = NULL;
221 digestsize = crypto_hash_digestsize(state->sha1);
245 if (state->sha1)
246 crypto_free_hash(state->sha1);
263 if (state->sha1)
264 crypto_free_hash(state->sha1);
705 * Prior to allowing load, try to load the arc4 and sha1 crypto
714 crypto_has_hash("sha1", 0, CRYPTO_ALG_ASYNC)))