2 * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
10 #include <stdlib.h> /* size_t */
11 #include <openssl/bn.h>
12 #include <openssl/bio.h>
14 int subtest_level(void);
15 int openssl_error_cb(const char *str, size_t len, void *u);
16 const BIO_METHOD *BIO_f_tap(void);
18 void test_fail_message_prefix(const char *prefix, const char *file,
19 int line, const char *type,
20 const char *left, const char *right,
23 void test_fail_string_message(const char *prefix, const char *file,
24 int line, const char *type,
25 const char *left, const char *right,
26 const char *op, const char *m1, size_t l1,
27 const char *m2, size_t l2);
29 void test_fail_bignum_message(const char *prefix, const char *file,
30 int line, const char *type,
31 const char *left, const char *right,
33 const BIGNUM *bn1, const BIGNUM *bn2);
34 void test_fail_bignum_mono_message(const char *prefix, const char *file,
35 int line, const char *type,
36 const char *left, const char *right,
37 const char *op, const BIGNUM *bn);
39 void test_fail_memory_message(const char *prefix, const char *file,
40 int line, const char *type,
41 const char *left, const char *right,
43 const unsigned char *m1, size_t l1,
44 const unsigned char *m2, size_t l2);