Home
last modified time | relevance | path

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

/openssl/test/
H A Ddhtest.c52 unsigned char *bbuf = NULL; in dh_test() local
215 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in dh_test()
216 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in dh_test()
225 || !TEST_mem_eq(abuf, aout, bbuf, bout) in dh_test()
243 OPENSSL_free(bbuf); in dh_test()
667 unsigned char *bbuf = NULL; in rfc7919_test() local
701 if (!TEST_int_gt(blen, 0) || !TEST_ptr(bbuf = OPENSSL_malloc(blen)) in rfc7919_test()
702 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in rfc7919_test()
706 || !TEST_mem_eq(abuf, aout, bbuf, bout)) in rfc7919_test()
713 OPENSSL_free(bbuf); in rfc7919_test()
/openssl/ssl/
H A Dssl_cert.c707 unsigned char *abuf = NULL, *bbuf = NULL; in xname_cmp() local
714 blen = i2d_X509_NAME((X509_NAME *)b, &bbuf); in xname_cmp()
721 ret = memcmp(abuf, bbuf, alen); in xname_cmp()
724 OPENSSL_free(bbuf); in xname_cmp()

Completed in 17 milliseconds