Lines Matching defs:sha_pad
78 * static data area. That means sha_pad needs to be kmalloc'd.
81 struct sha_pad {
85 static struct sha_pad *sha_pad;
87 static inline void sha_pad_init(struct sha_pad *shapad)
145 nbytes += setup_sg(&sg[1], sha_pad->sha_pad1,
146 sizeof(sha_pad->sha_pad1));
148 nbytes += setup_sg(&sg[3], sha_pad->sha_pad2,
149 sizeof(sha_pad->sha_pad2));
719 sha_pad = kmalloc(sizeof(struct sha_pad), GFP_KERNEL);
720 if (!sha_pad)
722 sha_pad_init(sha_pad);
729 kfree(sha_pad);
737 kfree(sha_pad);