Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:pad_len

690 	int pad_len;
696 pad_len = (4 - attr_len % 4) % 4;
697 attr_len += pad_len;
704 if (pad_len) {
706 os_memset(pos, 0, pad_len);
717 int pad_len;
723 pad_len = (4 - attr_len % 4) % 4;
724 attr_len += pad_len;
734 if (pad_len) {
736 os_memset(pos, 0, pad_len);
785 int pad_len = 16 - (encr_len % 16);
786 if (pad_len < 4) {
788 "eap_sim_msg_add_encr_end - invalid pad_len"
789 " %d", pad_len);
793 pos = eap_sim_msg_add(msg, attr_pad, 0, NULL, pad_len - 4);
796 os_memset(pos + 4, 0, pad_len - 4);
797 encr_len += pad_len;