Lines Matching refs:sha1
38 * Use Linux kernel 2.6 arc4 and sha1 routines rather than
98 struct crypto_hash *sha1;
151 desc.tfm = state->sha1;
213 state->sha1 = crypto_alloc_hash("sha1", 0, CRYPTO_ALG_ASYNC);
214 if (IS_ERR(state->sha1)) {
215 state->sha1 = NULL;
219 digestsize = crypto_hash_digestsize(state->sha1);
243 if (state->sha1)
244 crypto_free_hash(state->sha1);
261 if (state->sha1)
262 crypto_free_hash(state->sha1);
707 * Prior to allowing load, try to load the arc4 and sha1 crypto
716 crypto_has_hash("sha1", 0, CRYPTO_ALG_ASYNC)))