Markus Stockhausen <stockhau...@collogia.de> wrote: > > [PATCH v1 0/3] SHA256 for PPC/SPE > > The following patches add support for SIMD accelerated SHA256 > calculation on PPC processors with SPE instruction set. The > implementation takes care of the following constraints: > > - independant of processor endianess > - fallback to generic code if called from interrupt context > - disable preemtion only for short intervals
Thanks for the patch! Unfortunately the interrupt context test is a bummer because that means your code won't be used by IPsec at all. Would it be possible to relax the conditions similar to sha1_ssse3 on x86? If not how about going async with cryptd? Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev