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

/linux-4.4.14/drivers/net/ppp/
H A Dppp_mppe.c99 unsigned char *sha1_digest; member in struct:ppp_mppe_state
154 crypto_hash_digest(&desc, sg, nbytes, state->sha1_digest); get_new_key_from_sha()
168 crypto_blkcipher_setkey(state->arc4, state->sha1_digest, mppe_rekey()
172 setup_sg(sg_in, state->sha1_digest, state->keylen); mppe_rekey()
179 memcpy(state->session_key, state->sha1_digest, state->keylen); mppe_rekey()
223 state->sha1_digest = kmalloc(digestsize, GFP_KERNEL); mppe_alloc()
224 if (!state->sha1_digest) mppe_alloc()
241 if (state->sha1_digest) mppe_alloc()
242 kfree(state->sha1_digest); mppe_alloc()
259 if (state->sha1_digest) mppe_free()
260 kfree(state->sha1_digest); mppe_free()

Completed in 43 milliseconds