mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-26 02:33:41 +00:00
crypto: lower bloom filter error rate
before patch: full bloom filter error rate before reset 1-(1-1e-6)^5e5=1-0.606=0.394 after patch: 1-(1-1e-10)^5e5=1-0.99995=5e-5
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ typedef mbedtls_md_info_t digest_type_t;
|
||||
#endif
|
||||
|
||||
#ifndef BF_ERROR_RATE_FOR_SERVER
|
||||
#define BF_ERROR_RATE_FOR_SERVER 1e-6
|
||||
#define BF_ERROR_RATE_FOR_SERVER 1e-10
|
||||
#endif
|
||||
|
||||
#ifndef BF_ERROR_RATE_FOR_CLIENT
|
||||
|
||||
Reference in New Issue
Block a user