Lines Matching refs:pt
143 EC_POINT *pt = NULL; in test_sm2_crypt() local
162 pt = EC_POINT_new(group); in test_sm2_crypt()
163 if (!TEST_ptr(pt) in test_sm2_crypt()
164 || !TEST_true(EC_POINT_mul(group, pt, priv, NULL, NULL, NULL)) in test_sm2_crypt()
165 || !TEST_true(EC_KEY_set_public_key(key, pt)) in test_sm2_crypt()
201 EC_POINT_free(pt); in test_sm2_crypt()
314 EC_POINT *pt = NULL; in test_sm2_sign() local
332 pt = EC_POINT_new(group); in test_sm2_sign()
333 if (!TEST_ptr(pt) in test_sm2_sign()
334 || !TEST_true(EC_POINT_mul(group, pt, priv, NULL, NULL, NULL)) in test_sm2_sign()
335 || !TEST_true(EC_KEY_set_public_key(key, pt))) in test_sm2_sign()
364 EC_POINT_free(pt); in test_sm2_sign()