Hello Herbert, this is my first attempt. patch 1 - the main patch (touching core api) patch 2 - fixing remaining crypto infrastructure patch 3 - fixing some users Almost all users are easy to fix. The wlan stack allocates the cipher at one time and sets the key at another time. So I don't know the requested keysize at allocation time. In the fixup, crypto_authenc_alloc() got a little ugly. The keysize is only consider for the blkcipher but the hash might also be limited. Tell me what you thing about this one. Maybe something like cbc(aes|192) is a better solution. Sebastian - 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