<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for your help. I left it out of my email, but I actually did
do it. Except for the ls bit. I originally ran the config without
"shared", encountered an error later down the road, deleted the
extracted directory, and redid the config correctly, and then just
simply did "sudo make" and then "sudo made install" without doing
anything about the original library, which i assume was overwritten.
But maybe I just corrupted it? Do I just delete the library's
directory and retry, or is there something more?<br>
<br>
The "DUSE_CRYPTODEV_DIGESTS" is seen in the Tor error log because
cryptodev digests are giving errors. I also don't see an entry about
the "running the test suite" in the README. I see mention of a patch
for Crytodev for OPENSSL, but, when on the site it links, I have no
idea how to apply the patch for it says nothing patching it. (Sorry,
I'm a total linux newb) Also, on the cryptodev-linux page:
<a class="moz-txt-link-freetext" href="https://github.com/cryptodev-linux/cryptodev-linux/blob/master/NEWS">https://github.com/cryptodev-linux/cryptodev-linux/blob/master/NEWS</a>
, it says 1.7 was released in 07 Feb, 2015, which is long after the
release of the patch that is talked about in the readme. Likewise,
the patch linked is a whole year older than the version of OpenSSL
I'm using, but it may not be part of the standard distribution of
OpenSSL. <br>
<br>
Also, I see the mention of GnuTLS in Crypodev, if there's a better
way to go about having HW-accelerated crypto for Tor (excluding
Intel aes-ni), please let me know.<br>
<br>
<div class="moz-cite-prefix">On 2.5.15 10:46, Yawning Angel wrote:<br>
</div>
<blockquote cite="mid:20150502144625.7d668009@schwanenlied.me"
type="cite">
<pre wrap="">On Sat, 02 May 2015 09:42:42 -0400
12xBTM <a class="moz-txt-link-rfc2396E" href="mailto:12xbtm@gmail.com"><12xbtm@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Step 1: Getting OpenSSL to become Hardware-Accelerated
sudo apt-get install linux-image-3.14.39-ti-r61
sudo apt-get install linux-headers-3.14.39-ti-r61
wget
<a class="moz-txt-link-freetext" href="http://download.gna.org/cryptodev-linux/cryptodev-linux-1.7.tar.gz">http://download.gna.org/cryptodev-linux/cryptodev-linux-1.7.tar.gz</a>
tar zxf cryptodev-linux-1.7.tar.gz cd cryptodev-linux-1.7/
sudo make
sudo make install
sudo depmod -a
sudo modprobe cryptodev
lsmod
sudo sh -c 'echo cryptodev>>/etc/modules'
cd ~
wget <a class="moz-txt-link-freetext" href="https://www.openssl.org/source/openssl-1.0.2a.tar.gz">https://www.openssl.org/source/openssl-1.0.2a.tar.gz</a>
tar zxf openssl-1.0.2a.tar.gz
cd openssl-1.0.2a/
</pre>
</blockquote>
<pre wrap="">
You left out, patching OpenSSL's cryptodev support to function.
</pre>
<blockquote type="cite">
<pre wrap="">ls
./config -DHAVE_CRYPTODEV -DUSE_CRYPTDEV_DIGESTS shared
sudo make
sudo make install
</pre>
</blockquote>
<pre wrap="">
And you left out "running the test suite, which according to the bug in
OpenSSL's bugtracker, would have failed".
Both of these dastardly details are hidden in the depths of the file
misleadingly titled "README" in cryptodev-linux-1.7.tar.gz, under the
heading "* OpenSSL:".
Regards,
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
tor-relays mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a>
<a class="moz-txt-link-freetext" href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a>
</pre>
</blockquote>
<br>
</body>
</html>