On Tue, Feb 16, 2010 at 09:05:10AM +0200, Dmitry Kasatkin wrote:
> Hi,
>
> How is it possible to wait for completion here?: shash.c
>
> shash_compat_digest()
> {
> ....
> data = crypto_kmap(sg_page(sg), 0);
> err = crypto_shash_digest(desc, data + offset, nbytes, out);
> crypto_kunmap(data, 0);
> ....
> }
>
> It happens as single operation/call.
Well you'd do it as an ahash algorithm, not shash.
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