aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1/src/testrand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/secp256k1/src/testrand.h')
-rw-r--r--src/secp256k1/src/testrand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/secp256k1/src/testrand.h b/src/secp256k1/src/testrand.h
index f1f9be077e..bcbe15a6f1 100644
--- a/src/secp256k1/src/testrand.h
+++ b/src/secp256k1/src/testrand.h
@@ -35,4 +35,7 @@ static void secp256k1_rand256_test(unsigned char *b32);
/** Generate pseudorandom bytes with long sequences of zero and one bits. */
static void secp256k1_rand_bytes_test(unsigned char *bytes, size_t len);
+/** Flip a single random bit in a byte array */
+static void secp256k1_rand_flip(unsigned char *b, size_t len);
+
#endif /* SECP256K1_TESTRAND_H */