Home
last modified time | relevance | path

Searched refs:sha1_digest (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ppp/
Dppp_mppe.c94 unsigned char *sha1_digest; member
142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
153 arc4_setkey(&state->arc4, state->sha1_digest, state->keylen); in mppe_rekey()
154 arc4_crypt(&state->arc4, state->session_key, state->sha1_digest, in mppe_rekey()
157 memcpy(state->session_key, state->sha1_digest, state->keylen); in mppe_rekey()
204 state->sha1_digest = kmalloc(digestsize, GFP_KERNEL); in mppe_alloc()
205 if (!state->sha1_digest) in mppe_alloc()
222 kfree(state->sha1_digest); in mppe_alloc()
239 kfree(state->sha1_digest); in mppe_free()