Searched refs:plaintext_len (Results 1 – 6 of 6) sorted by relevance
/freebsd/tools/regression/net80211/tkip/ |
H A D | test_tkip.c | 132 size_t plaintext_len; member 218 len = t->plaintext_len - IEEE80211_WEP_MICLEN; in runtest() 234 if (m->m_pkthdr.len != t->plaintext_len) { in runtest() 237 t->plaintext, t->plaintext_len); in runtest() 240 if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest() 243 t->plaintext, t->plaintext_len); in runtest() 276 dumpdata("Plaintext", t->plaintext, t->plaintext_len); in runtest() 299 t->plaintext, t->plaintext_len); in runtest() 306 if (m->m_pkthdr.len != t->plaintext_len) { in runtest() 309 t->plaintext, t->plaintext_len); in runtest() [all …]
|
/freebsd/tools/regression/net80211/ccmp/ |
H A D | test_ccmp.c | 539 size_t plaintext_len; member 588 , t->plaintext_len in printtest() 629 memcpy(mtod(m, void *), t->plaintext, t->plaintext_len); in runtest() 630 m->m_len = t->plaintext_len; in runtest() 656 dumpdata("Plaintext", t->plaintext, t->plaintext_len); in runtest() 667 t->plaintext, t->plaintext_len); in runtest() 673 if (m->m_pkthdr.len != t->plaintext_len) { in runtest() 677 t->plaintext, t->plaintext_len); in runtest() 679 } else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest() 683 t->plaintext, t->plaintext_len); in runtest()
|
/freebsd/tools/regression/net80211/wep/ |
H A D | test_wep.c | 144 size_t plaintext_len; member 231 t->plaintext, t->plaintext_len); in runtest() 237 if (m->m_pkthdr.len != t->plaintext_len) { in runtest() 240 t->plaintext, t->plaintext_len); in runtest() 242 } else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest() 245 t->plaintext, t->plaintext_len); in runtest() 272 dumpdata("Plaintext", t->plaintext, t->plaintext_len); in runtest()
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 70-test_sslcbcpadding.t | 97 my $plaintext_len = $block_size - ($mac_len % $block_size); 98 my $plaintext = "A" x $plaintext_len; 121 $plaintext_len,
|
/freebsd/crypto/openssl/test/ |
H A D | evp_extra_test.c | 1298 int len, kek_len, ciphertext_len, plaintext_len; in test_EVP_Enveloped() local 1325 || !TEST_true(EVP_OpenUpdate(ctx, plaintext, &plaintext_len, in test_EVP_Enveloped() 1327 || !TEST_true(EVP_OpenFinal(ctx, plaintext + plaintext_len, &len))) in test_EVP_Enveloped() 1330 plaintext_len += len; in test_EVP_Enveloped() 1331 if (!TEST_mem_eq(msg, sizeof(msg), plaintext, plaintext_len)) in test_EVP_Enveloped()
|
H A D | evp_test.c | 532 size_t plaintext_len; member 631 return parse_bin(value, &cdat->plaintext, &cdat->plaintext_len); in cipher_test_parse() 711 in_len = expected->plaintext_len; in cipher_test_enc() 718 out_len = expected->plaintext_len; in cipher_test_enc()
|