Home
last modified time | relevance | path

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

/openssl/test/
H A Dsm2_internal_test.c145 size_t ctext_len = 0; in test_sm2_crypt() local
167 &ctext_len))) in test_sm2_crypt()
170 ctext = OPENSSL_zalloc(ctext_len); in test_sm2_crypt()
177 ctext, &ctext_len))) { in test_sm2_crypt()
183 if (!TEST_mem_eq(ctext, ctext_len, expected, ctext_len)) in test_sm2_crypt()
186 if (!TEST_true(ossl_sm2_plaintext_size(ctext, ctext_len, &ptext_len)) in test_sm2_crypt()
192 || !TEST_true(ossl_sm2_decrypt(key, digest, ctext, ctext_len, in test_sm2_crypt()
H A Devp_extra_test.c2387 size_t ctext_len = sizeof(ciphertext); in test_EVP_SM2() local
2520 if (!TEST_true(EVP_PKEY_encrypt(cctx, ciphertext, &ctext_len, kMsg, in test_EVP_SM2()
2531 ctext_len), 0)) in test_EVP_SM2()

Completed in 21 milliseconds