David Miller <da...@davemloft.net> wrote: > > Anyways, I suspect that we need to use get_unaligned_be{32,64}() in > generic SHA256 and SHA512.
The other option is to set cra_alignmask and have the crypto API handle this. So the question is what is the cost benefit of using a normal load vs. get_unaligned_*? Most in-kernel crypto uses should be using aligned input/output. 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 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html