Displaying 1 result from an estimated 1 matches for "evp_bf_ofb".
2011 Aug 07
1
"Cipher = none" doesn't seem to be working properly
...d wirelessly, with tincd
1.0.16 running in switch mode. Setting Cipher and Digest to "none",
and Compression to 0, the bridge is still CPU-bound, with most of
tincd's CPU time spent in libcrypto. I narrowed it down to this line
in net_setup.c:
myself->connection->outcipher = EVP_bf_ofb();
It looks as though all outgoing data is encrypted with blowfish,
regardless of the Cipher setting. I pulled that assignment of
outcipher up to match what happens with incipher, and then my bridge
throughput doubled and tincd is no longer spending all that time in
libcrypto. I didn't have...