Re: [PATCH 1/1] arm/crypto: Add optimized AES and SHA1 routines
From: Jussi Kivilinna <hidden>
Date: 2012-10-09 04:27:38
2012/10/9 David McCullough [off-list ref]
Jivin Ruggero SUSELLA lays it down ...quoted
Is this code compatible with GPL ? To me it looks like it falls under the OpenSSL license which, accordingly to Wikipedia, is not compatible with GPL. Where am I wrong ?The license on the 2 asm files from openssl the explicitly states: @ ==================================================================== @ Written by Andy Polyakov [off-list ref] for the OpenSSL @ project. The module is, however, dual licensed under OpenSSL and @ CRYPTOGAMS licenses depending on where you obtain it. For further @ details see http://www.openssl.org/~appro/cryptogams/. @ ==================================================================== If you follow the URL for the CRYPTOGAMS license and read the actual license at the end of the file it is very clearly dual licensed. So I think it is ok :-)
The FAQ at http://www.openssl.org/~appro/cryptogams/ says "If obtained as a part of the OpenSSL Toolkit the modules are covered by the OpenSSL license, while if obtained as a part of the CRYPTOGAMS distribution - by the CRYPTOGAMS License" and that page only has link to "CRYPTOGAMS version 0" which does not contain ARM implementations. -Jussi
Cheers, Davidmquoted
-----Original Message----- From: linux-crypto-owner@vger.kernel.org [mailto:linux-crypto-owner@vger.kernel.org] On Behalf Of Herbert Xu Sent: Thursday, September 06, 2012 10:20 PM To: David McCullough Cc: linux-kernel@vger.kernel.org; linux-crypto@vger.kernel.org Subject: Re: [PATCH 1/1] arm/crypto: Add optimized AES and SHA1 routines On Tue, Aug 07, 2012 at 02:01:03AM +0000, David McCullough wrote:quoted
Add assembler versions of AES and SHA1 for ARM platforms. This has provided up to a 50% improvement in IPsec/TCP throughout for tunnels using AES128/SHA1. Platform CPU SPeed Endian Before (bps) After (bps) Improvement IXP425 533 MHz big 11217042 15566294 ~38% KS8695 166 MHz little 3828549 5795373 ~51% Signed-off-by: David McCullough <redacted>Patch applied. Thanks! -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html-- David McCullough, david_mccullough@mcafee.com, Ph:+61 734352815 McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html