[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-crypto-vger
Subject:    Re: [patch 2/2] remove similar aes glue code
From:       Herbert Xu <herbert () gondor ! apana ! org ! au>
Date:       2007-11-26 10:32:22
Message-ID: 20071126103222.GA26178 () gondor ! apana ! org ! au
[Download RAW message or body]

On Mon, Nov 26, 2007 at 10:35:00AM +0100, Sebastian Siewior wrote:
>
> I checked it and cra_driver_name is only used for compare. I think you
> could use something like "cbc(aes-asm)" but this would only work on x86.
> Is there something I am overlooking?

That's the whole point of cra_driver_name.  Consider the case
of someone who has a higher priority version of AES available,
e.g., padlock or an async device.  If they want to specify the
assembly version of AES then they would use cbc(aes-asm).  Just
as they would use cbc(aes-generic) to select the C version.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic