Add a helper routine so that evp_test can compare memory without producing