Searched refs:sha_pad (Results 1 – 1 of 1) sorted by relevance
76 struct sha_pad { struct80 static struct sha_pad *sha_pad; variable82 static inline void sha_pad_init(struct sha_pad *shapad) in sha_pad_init()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()[all …]