• Home
  • Raw
  • Download

Lines Matching refs:TEST_ptr

48     if (!TEST_ptr(dh = DH_new())  in dh_test()
49 || !TEST_ptr(p = BN_new()) in dh_test()
50 || !TEST_ptr(q = BN_new()) in dh_test()
51 || !TEST_ptr(g = BN_new()) in dh_test()
52 || !TEST_ptr(priv_key = BN_new())) in dh_test()
114 if (!TEST_ptr(pub_key2) in dh_test()
142 if (!TEST_ptr(_cb = BN_GENCB_new())) in dh_test()
145 if (!TEST_ptr(a = DH_new()) in dh_test()
163 if (!TEST_ptr(b = DH_new())) in dh_test()
166 if (!TEST_ptr(bp = BN_dup(ap)) in dh_test()
167 || !TEST_ptr(bg = BN_dup(ag)) in dh_test()
185 if (!TEST_ptr(c = DHparams_dup(b)) in dh_test()
186 || !TEST_ptr(cpriv_key = BN_dup(bpriv_key)) in dh_test()
192 if (!TEST_ptr(abuf = OPENSSL_malloc(alen)) in dh_test()
197 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in dh_test()
202 if (!TEST_ptr(cbuf = OPENSSL_malloc(clen)) in dh_test()
540 if (!TEST_ptr(dhA = td->get_param()) in rfc5114_test()
541 || !TEST_ptr(dhB = td->get_param())) in rfc5114_test()
544 if (!TEST_ptr(priv_key = BN_bin2bn(td->xA, td->xA_len, NULL)) in rfc5114_test()
545 || !TEST_ptr(pub_key = BN_bin2bn(td->yA, td->yA_len, NULL)) in rfc5114_test()
549 if (!TEST_ptr(priv_key = BN_bin2bn(td->xB, td->xB_len, NULL)) in rfc5114_test()
550 || !TEST_ptr(pub_key = BN_bin2bn(td->yB, td->yB_len, NULL)) in rfc5114_test()
559 if (!TEST_ptr(Z1 = OPENSSL_malloc(DH_size(dhA))) in rfc5114_test()
560 || !TEST_ptr(Z2 = OPENSSL_malloc(DH_size(dhB)))) in rfc5114_test()
590 if (!TEST_ptr(dhA = DH_get_2048_224()) in rfc5114_test()
591 || !TEST_ptr(Z1 = OPENSSL_malloc(DH_size(dhA)))) in rfc5114_test()
594 if (!TEST_ptr(bady = BN_bin2bn(dhtest_rfc5114_2048_224_bad_y, in rfc5114_test()
646 if (!TEST_ptr(a = DH_new_by_nid(NID_ffdhe2048))) in rfc7919_test()
663 if (!TEST_ptr(b = DH_new_by_nid(NID_ffdhe2048))) in rfc7919_test()
671 if (!TEST_ptr(abuf = OPENSSL_malloc(alen)) in rfc7919_test()
676 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in rfc7919_test()