Lines Matching refs:plain_len

47 	size_t enc_len, plain_len;  in test_vector_tkip()  local
66 enc + 24, enc_len - 24, &plain_len, NULL, NULL); in test_vector_tkip()
75 if (plain_len != sizeof(frame) - 24 || in test_vector_tkip()
76 os_memcmp(plain, frame + 24, plain_len) != 0) { in test_vector_tkip()
78 plain, plain_len); in test_vector_tkip()
99 size_t enc_len, plain_len; in test_vector_ccmp() local
124 &plain_len); in test_vector_ccmp()
133 if (plain_len != sizeof(frame) - 24 || in test_vector_ccmp()
134 os_memcmp(plain, frame + 24, plain_len) != 0) { in test_vector_ccmp()
136 plain, plain_len); in test_vector_ccmp()
554 size_t enc_len, plain_len; in test_vector_ccmp_mgmt() local
576 &plain_len); in test_vector_ccmp_mgmt()
585 if (plain_len != sizeof(frame) - 24 || in test_vector_ccmp_mgmt()
586 os_memcmp(plain, frame + 24, plain_len) != 0) { in test_vector_ccmp_mgmt()
588 plain, plain_len); in test_vector_ccmp_mgmt()
724 size_t enc_len, plain_len; in run_gcmp() local
771 enc_len - vector->hdr_len, &plain_len); in run_gcmp()
780 if (plain_len != vector->payload_len || in run_gcmp()
781 os_memcmp(plain, vector->frame + vector->hdr_len, plain_len) != 0) { in run_gcmp()
783 plain, plain_len); in run_gcmp()
843 size_t enc_len, plain_len; in test_vector_gcmp_256() local
872 &plain_len); in test_vector_gcmp_256()
881 if (plain_len != sizeof(frame) - 26 || in test_vector_gcmp_256()
882 os_memcmp(plain, frame + 26, plain_len) != 0) { in test_vector_gcmp_256()
884 plain, plain_len); in test_vector_gcmp_256()
922 size_t enc_len, plain_len; in test_vector_ccmp_256() local
951 &plain_len); in test_vector_ccmp_256()
960 if (plain_len != sizeof(frame) - 24 || in test_vector_ccmp_256()
961 os_memcmp(plain, frame + 24, plain_len) != 0) { in test_vector_ccmp_256()
963 plain, plain_len); in test_vector_ccmp_256()