Home
last modified time | relevance | path

Searched refs:plaintext (Results 1 – 2 of 2) sorted by relevance

/reactos/modules/rostests/winetests/crypt32/
H A Dprotectdata.c216 static void test_simpleroundtrip(const char *plaintext) in test_simpleroundtrip() argument
225 input.pbData = (unsigned char *)plaintext; in test_simpleroundtrip()
226 input.cbData = strlen(plaintext); in test_simpleroundtrip()
238 …put.cbData == strlen(plaintext), "output wrong length %d for input '%s', wanted %d\n", output.cbDa… in test_simpleroundtrip()
239 …ok(!memcmp(plaintext, (char *)output.pbData, output.cbData), "output wrong contents for input '%s'… in test_simpleroundtrip()
/reactos/dll/3rdparty/mbedtls/
H A Dccm.c503 unsigned char plaintext[CCM_SELFTEST_PT_MAX_LEN]; in mbedtls_ccm_self_test() local
523 memset( plaintext, 0, CCM_SELFTEST_PT_MAX_LEN ); in mbedtls_ccm_self_test()
525 memcpy( plaintext, msg, msg_len[i] ); in mbedtls_ccm_self_test()
529 plaintext, ciphertext, in mbedtls_ccm_self_test()
540 memset( plaintext, 0, CCM_SELFTEST_PT_MAX_LEN ); in mbedtls_ccm_self_test()
544 ciphertext, plaintext, in mbedtls_ccm_self_test()
548 memcmp( plaintext, msg, msg_len[i] ) != 0 ) in mbedtls_ccm_self_test()