On Thu, Oct 20, 2016 at 05:42:19PM -0400, J. Bruce Fields wrote: > Turns out there are several places in the kerberos code where it just > needs to encrypt one small checksum or sequence number, and it's been > doing that on the stack. > > For now I'll just sprinkle kmalloc()'s all over. Eventually we'll need > to find something better. I agree that it would be nice to be able to hash small objects on the stack. But unless I've missed something there is no way to do that without using struct scatterlist. I've added linux-crypto to the cc list to confirm that I really didn't miss anything. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html