Re: archivers/unrar: speed up decryption

2012-04-07 Thread Christian Weisgerber
Amit Kulkarni amitk...@gmail.com wrote: can you please check the updated version with your test file? The OpenSSL patch works with both 4.00 and 4.10. But so far I've only tried it on amd64. --- Makefile 8 Sep 2011 11:13:30 - 1.53 +++ Makefile 6 Apr 2012 17:04:20 - @@ -11,7

Re: archivers/unrar: speed up decryption

2012-04-07 Thread Amit Kulkarni
On Sat, Apr 7, 2012 at 9:47 AM, Christian Weisgerber na...@mips.inka.de wrote: Amit Kulkarni amitk...@gmail.com wrote: can you please check the updated version with your test file? The OpenSSL patch works with both 4.00 and 4.10. But so far I've only tried it on amd64. i only compiled for

Re: archivers/unrar: speed up decryption

2012-04-07 Thread Christian Weisgerber
Amit Kulkarni amitk...@gmail.com wrote: You forgot to update PKGNAME. i wondered about that. make it unrar-4.1.4 or unrar-4.0.7 to match DISTNAME? unrar 4.10. See the Makefile comment blurb above PKGNAME. -- Christian naddy Weisgerber na...@mips.inka.de

Re: archivers/unrar: speed up decryption

2012-04-07 Thread Christian Weisgerber
Here's another fix, one that can go in right now: Don't echo the password on sparc/sparc64. Presumably this is another instance of the time-honored abuse of __sparc to check for SunOS. Index: Makefile === RCS file:

Re: archivers/unrar: speed up decryption

2012-04-06 Thread Amit Kulkarni
On Fri, 6 Apr 2012 02:02:56 +0200 Christian Weisgerber na...@mips.inka.de wrote: Extracting encrypted rar files is noticeably slower than unencrypted ones. Rar uses the standard AES-128-CBC algorithm for encryption, so I had the idea of using OpenSSL's optimized implementation instead of the

Re: archivers/unrar: speed up decryption

2012-04-06 Thread Stuart Henderson
On 2012/04/06 07:09, Amit Kulkarni wrote: On Fri, 6 Apr 2012 02:02:56 +0200 Christian Weisgerber na...@mips.inka.de wrote: Extracting encrypted rar files is noticeably slower than unencrypted ones. Rar uses the standard AES-128-CBC algorithm for encryption, so I had the idea of using