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

/linux-4.4.14/drivers/net/ppp/
H A Dppp_mppe.c78 * static data area. That means sha_pad needs to be kmalloc'd.
81 struct sha_pad { struct
85 static struct sha_pad *sha_pad; variable in typeref:struct:sha_pad
87 static inline void sha_pad_init(struct sha_pad *shapad) sha_pad_init()
145 nbytes += setup_sg(&sg[1], sha_pad->sha_pad1, get_new_key_from_sha()
146 sizeof(sha_pad->sha_pad1)); get_new_key_from_sha()
148 nbytes += setup_sg(&sg[3], sha_pad->sha_pad2, get_new_key_from_sha()
149 sizeof(sha_pad->sha_pad2)); get_new_key_from_sha()
721 sha_pad = kmalloc(sizeof(struct sha_pad), GFP_KERNEL); ppp_mppe_init()
722 if (!sha_pad) ppp_mppe_init()
724 sha_pad_init(sha_pad); ppp_mppe_init()
731 kfree(sha_pad); ppp_mppe_init()
739 kfree(sha_pad); ppp_mppe_cleanup()

Completed in 105 milliseconds