> You must getting an sg entry that crosses a page boundary, rather than > two sg entries that both stay within a page. Yes. > These things are very rare, and usually occurs as > a result of SLAB debugging causing kmalloc to return memory that > crosses page boundaries. Indeed, SLAB_DEBUG was enabled in my config. Disabling it resolves this issue. > Can you see if this patch fixes the problem? Yes, it fixes HMAC calculation with enabled SLAB debugging. Thanks for your help! -- 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