On Mon, Sep 05, 2005 at 09:14:21AM +0300, Ronen Shitrit wrote: > > When is this Async Crypto API, going to be ready?? > Since I'm planning to take a full month vacation, by the end of this > week, > and if by the time I will be back, this Async Crypto APIs will be ready, > and > _part_of_the_mainline_, then I will need to re-evaluate my decision for > going with > the OCF, since the "big guys here likes to go with the mainline".
Unfortunately I can't give any guarantees of when it'll be ready. However, you could most certainly speed up the process by helping implementing any of the following steps: : 1) Add support for multiple implementations for the same algorithm. : : For example, this lets you have both aes/aes-i586/aes-via_padlock : registered and the one with the highest priority will be used. : The priority will be set by the module with an override option : for the user. : : 2) Extend the interface between crypto API and the underlying : implementations to use scatterlists. : : Wrappers will be provided to extend implementations with existing : single-block interfaces to provide scatterlists. Essentially : it'll be the same as the current scatterlist walking function, : albeit executed conceptually at a lower layer. : : 3) Add support for (raw, as in no scheduler/fail-over) async : implementations through the addition of a callback function : to crypto_tfm and a callback data argument to the existing : top-level crypto entry point functions (encrypt/decrypt/etc). : : 4) Implement implementation registration notification. : : 5) Implement at least one scheduler using the same scatterlist : interface used by async drivers and software implementations. : : It'll work in the manner which I described previously. For : this particular scheduler, there will be one instantiation : that listens for the registration events of underlying : implementations and then reconfigures itself appropriately. : For example, it could simply utilise the hard-coded method : used by OpenBSD. 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