Home
last modified time | relevance | path

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

/third_party/openssl/test/
Ddhtest.c529 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()
[all …]