Searched refs:ctext_len (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | sm2_internal_test.c | 145 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 D | evp_extra_test.c | 2032 size_t ctext_len = sizeof(ciphertext); in test_EVP_SM2() local 2165 if (!TEST_true(EVP_PKEY_encrypt(cctx, ciphertext, &ctext_len, kMsg, in test_EVP_SM2() 2176 ctext_len), 0)) in test_EVP_SM2()
|