On Sat, Jan 12, 2008 at 01:09:37AM +0100, Sebastian Siewior wrote:
>
> Long story short, according to this numbers I'm all for the not inline
> version.
Thanks for following this through!
> diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
> index 1ab8c01..a935abc 100644
> --- a/crypto/tcrypt.c
> +++ b/crypto/tcrypt.c
> @@ -1705,6 +1705,12 @@ static void do_test(void)
> test_cipher_speed("salsa20", ENCRYPT, sec, NULL, 0,
> salsa20_speed_template);
> break;
> + case 207:
> + test_cipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
> + camellia_speed_template);
> + test_cipher_speed("ecb(cast6)", DECRYPT, sec, NULL, 0,
> + camellia_speed_template);
> + break;
Perhaps we should make a generic speed template that works for all
ciphers?
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html