Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ppp/
H A Dppp_mppe.c76 struct sha_pad { struct
80 static struct sha_pad *sha_pad; variable
136 crypto_shash_update(state->sha1, sha_pad->sha_pad1, in get_new_key_from_sha()
137 sizeof(sha_pad->sha_pad1)); in get_new_key_from_sha()
140 crypto_shash_update(state->sha1, sha_pad->sha_pad2, in get_new_key_from_sha()
141 sizeof(sha_pad->sha_pad2)); in get_new_key_from_sha()
666 sha_pad = kmalloc(sizeof(struct sha_pad), GFP_KERNEL); in ppp_mppe_init()
667 if (!sha_pad) in ppp_mppe_init()
669 sha_pad_init(sha_pad); in ppp_mppe_init()
676 kfree(sha_pad); in ppp_mppe_init()
[all …]