<div dir="ltr">pcrypt may be giving me errors because I am trying it on a small amazon instance. You must have at least 2 cores/CPU's.<div><br></div><div>Regards,</div><div>Randy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 8, 2015 at 8:03 AM, Randy Wyatt <span dir="ltr"><<a href="mailto:rwwyatt01@gmail.com" target="_blank">rwwyatt01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">tcrypt is simply to measure the performance of the encryption algorithm. It takes several arguments. The first argument is the algorithm. The second is the type. The third is mode. The fourth is mask, and the fifth is time.<div><br></div><div>The error message you are seeing is actually a little deceiving. There is not actually a problem with the kernel symbols. It solely means one of the arguments are wrong. You can inspect tcrypt.c in the kernel sources to see the encryption tests. From what I can tell, your argument to alg is wrong.</div><div><br></div><div>I think the wiki page needs to be updated. I will wait for someone more experienced than I am to validate my findings.</div><div><br></div><div>The tests start at line 952 in tcrypt.c. I would specifically look at line 1229. It still gives the resources temporarily unavailable as mentioned in the wiki.</div><div><br></div><div>Regards,</div><div>Randy</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jul 7, 2015 at 2:17 PM, Joshua Liebow-Feeser <span dir="ltr"><<a href="mailto:joshlf13@gmail.com" target="_blank">joshlf13@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I'm trying to set up strongSwan to use AES-GCM as the encryption algorithm for ESP. I'd like this to be parallelized, so I'm trying to use pcrypt, but whenever I try to instantiate the proper kernel support, I get errors:</div><div><br></div><div>$ sudo modprobe tcrypt alg="pcrypt(rfc4106(gcm(aes-aesni)))" type=3<br></div><div>FATAL: Error inserting tcrypt (/lib/modules/3.13.0-55-generic/kernel/crypto/tcrypt.ko): Unknown symbol in module, or unknown parameter (see dmesg)<br></div><div>$ dmesg | tail -n 1</div><div>[...] tcrypt: one or more tests failed!</div><div><br></div><div>Any idea what's going on here or how I could fix it? Thanks!</div><div>Cheers,</div><div>Josh</div></div>
<br></div></div><span class="">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.strongswan.org" target="_blank">Users@lists.strongswan.org</a><br>
<a href="https://lists.strongswan.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.strongswan.org/mailman/listinfo/users</a><br></span></blockquote></div><br><br clear="all"><div><br></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><table width="93%" align="center" style="background-color:rgb(242,245,247)" border="0" cellspacing="0" cellpadding="4"><tbody><tr><td valign="top" style="width:169px;line-height:155%"><font color="#000000" face="Verdana, Arial" style="font-size:11px;margin-top:4px" valign="top"><b></b></font></td><td valign="top"><span style="color:rgb(0,51,102);font-size:18px;font-weight:bold"><font color="#1155cc"><br></font></span></td></tr></tbody></table></div></div></div></div></div></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Randy W. Wyatt</div><div><a href="mailto:rwwyatt01@gmail.com" target="_blank">rwwyatt01@gmail.com</a></div><div>Home: 858-309-5303</div><div>Cell: 858-598-4421</div><div>Fax: 858-408-7554<table width="93%" align="center" style="background-color:rgb(242,245,247)" border="0" cellspacing="0" cellpadding="4"><tbody><tr><td valign="top" style="width:169px;line-height:155%"><font color="#000000" face="Verdana, Arial" style="font-size:11px;margin-top:4px" valign="top"><b></b></font></td><td valign="top"><span style="color:rgb(0,51,102);font-size:18px;font-weight:bold"><font color="#1155cc"><br></font></span></td></tr></tbody></table></div></div></div></div></div></div></div>
</div>