libtor-sys 44.5.2+0.4.4.5

Rust crate that internally compiles Tor and its dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
	a custom randombytes must implement:

	void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len);

	ed25519_randombytes_unsafe is used by the batch verification function
	to create random scalars
*/

/* Tor: Instead of calling OpenSSL's CSPRNG directly, call the wrapper. */
#include "lib/crypt_ops/crypto_rand.h"

static void
ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len)
{
  crypto_rand_unmocked(p, len);
}