Lines Matching refs:dhA
529 DH *dhA = NULL; in rfc5114_test() local
540 if (!TEST_ptr(dhA = td->get_param()) in rfc5114_test()
546 || !TEST_true(DH_set0_key(dhA, pub_key, priv_key))) in rfc5114_test()
555 if (!TEST_uint_eq(td->Z_len, (size_t)DH_size(dhA)) in rfc5114_test()
559 if (!TEST_ptr(Z1 = OPENSSL_malloc(DH_size(dhA))) in rfc5114_test()
567 if (!TEST_int_ne(DH_compute_key(Z1, pub_key_tmp, dhA), -1)) in rfc5114_test()
570 DH_get0_key(dhA, &pub_key_tmp, NULL); in rfc5114_test()
578 DH_free(dhA); in rfc5114_test()
579 dhA = NULL; 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()
599 if (!DH_generate_key(dhA)) in rfc5114_test()
602 if (DH_compute_key(Z1, bady, dhA) != -1) { in rfc5114_test()
612 DH_free(dhA); in rfc5114_test()
618 DH_free(dhA); in rfc5114_test()
629 DH_free(dhA); in rfc5114_test()